Question: create ERD diagram - - - - Database: ` ems ` - - - - - - - - - - - - - -
create ERD diagram Database: ems Table structure for table absentees CREATE TABLE absenteesid int NOT NULL, studentID int NOT NULL, sectionID int NOT NULL, date date NOT NULL, courseName varchar NOT NULL, studentName varchar NOT NULL ENGINEInnoDB DEFAULT CHARSETutfmb COLLATEutfmbgeneralci; Dumping data for table absentees INSERT INTO absenteesidstudentIDsectionIDdatecourseNamestudentName VALUES 'Calculus I 'Salim' 'Calculus I 'Rashid' 'Data Structures', 'Salim' 'Data Structures', 'Rashid'; Table structure for table changerequests CREATE TABLE changerequestsrequestID int NOT NULL, scheduleID int NOT NULL, newDate date NOT NULL, newTime time NOT NULL, lecturerID int NOT NULL, requestDate timestamp NOT NULL DEFAULT currenttimestamprequestStatus varchar NOT NULL DEFAULT 'pending' ENGINEInnoDB DEFAULT CHARSETutfmb COLLATEutfmbgeneralci; Dumping data for table changerequests INSERT INTO changerequestsrequestIDscheduleIDnewDatenewTimelecturerIDrequestDaterequestStatus VALUES :::: 'rejected':::: 'accepted'; Table structure for table cheatingcases CREATE TABLE cheatingcasescaseID int NOT NULL, studentID int NOT NULL, cheatingCaseType varchar NOT NULL, description text NOT NULL, incidentreport text NOT NULL, fileName varchar NOT NULL, status varchar NOT NULL, submissionDate timestamp NOT NULL DEFAULT currenttimestamp ENGINEInnoDB DEFAULT CHARSETutfmb COLLATEutfmbgeneralci; Dumping data for table cheatingcases INSERT INTO cheatingcasescaseIDstudentIDcheatingCaseTypedescriptionincidentreportfileNamestatussubmissionDate VALUES 'Smartwatch', aPHOTOjpg 'Pending', ::; Table structure for table course CREATE TABLE coursecourseID int NOT NULL, courseCode varchar NOT NULL, courseName varchar DEFAULT NULL, coordinatorID int DEFAULT NULL, departmentID int DEFAULT NULL ENGINEInnoDB DEFAULT CHARSETutfmb COLLATEutfmbgeneralci; Dumping data for table course INSERT INTO coursecourseIDcourseCodecourseNamecoordinatorIDdepartmentID VALUES 'ITDM 'Data Structures', 'ITSW 'Calculus I 'ITDM 'Physics', ; Table structure for table courseregistration CREATE TABLE courseregistrationregistrationID int NOT NULL, studentID int DEFAULT NULL, sectionID int DEFAULT NULL, scheduleID int DEFAULT NULL ENGINEInnoDB DEFAULT CHARSETutfmb COLLATEutfmbgeneralci; Dumping data for table courseregistration INSERT INTO courseregistrationregistrationIDstudentIDsectionIDscheduleID VALUES ; Table structure for table coursesection CREATE TABLE coursesectionsectionID int NOT NULL, lecturerID int DEFAULT NULL, sectionNumber int DEFAULT NULL, numOfStudents int DEFAULT NULL, courseID int DEFAULT NULL ENGINEInnoDB DEFAULT CHARSETutfmb COLLATEutfmbgeneralci; Dumping data for table coursesection INSERT INTO coursesectionsectionIDlecturerIDsectionNumbernumOfStudents
Step by Step Solution
There are 3 Steps involved in it
1 Expert Approved Answer
Step: 1 Unlock
Question Has Been Solved by an Expert!
Get step-by-step solutions from verified subject matter experts
Step: 2 Unlock
Step: 3 Unlock
