*question 1*
Design a database for school management system. This system will be able to perform following functionalities: System could register the different classes having information like class id, class name System could register students having information like their registration number, name, father name, class name, phone number and address. System could register teachers according to their qualification having information; id, name, cell no, qualification and salary. System could register subjects having information like subject id, subject name and credit hrs. In this system user can allocate one and more than one subjects to every teacher. System could keep the record of results of every students having information like student_regno, student name, subjects, obtained marks, total marks and status (fail/pass). System could manage the fee records of students having information like; student name, class name, month, payment date, paid amount. System could keep the record of attendance of every students on daily basis having information like; student_reg_no, student name, attendance date, status(present/absent). Question (part a): draw complete normalize ERD of the above mentioned requirement. Identify primary key and relationship degree of table if having. Question: (Part b) Convert these relational tables (which you create in solution of question no 1) into logical database (in Microsoft Sql Server) and then make a diagram (ERD) from your Sql server. Name of this database must be your Name & registration number as mentioned in University Portal like (Haseeb_1403). Insert 3 rows in each table. Upload your Diagram (ERD pic) in Answer sheet. And also write the sql syntax of table creation and insertion etc in answer sheet. Note: In part b answer you have to write queries which you have written for table creation and data insertion. & then at the end