Question
Converting ER diagram to SQL statements The registrar office maintains data about the following entities: a. Course Catalog, including number, title, credits, syllabus, and prerequisites
Converting ER diagram to SQL statements
The registrar office maintains data about the following entities: a. Course Catalog, including number, title, credits, syllabus, and prerequisites b. Course Offerings, including course number, year, semester, section number, instructor(s), time, and classroom c. Students, including student-id, name, and program d. Instructors, including identification number, name, department, and title Further, the enrollment of students in offered courses and grades awarded to students in each course they are enrolled for must be appropriately modeled.
I want to convert this ER diagram to SQL statements:
Major Assumptions 1. An instructor can teach many course sections 2. A student can take many courses and a course 3. A course may offer many sections and a section 4. A course can have many prerequisites. and a section has one and only one instructor can have many students. has to belong to one course title Course credits Is_prere quisite Course_catalog syllabus Prereqsite_course name Has instructor id department title Teaches Instructor year semester Course offering section no classroom Enrolls Student time program grade nameStep by Step Solution
There are 3 Steps involved in it
Step: 1
Get Instant Access to Expert-Tailored Solutions
See step-by-step solutions with expert insights and AI powered tools for academic success
Step: 2
Step: 3
Ace Your Homework with AI
Get the answers you need in no time with our AI-driven, step-by-step assistance
Get Started