A.1.1. Brief English Description of the ER Diagram
Studentmay be registered in one or more (M) Grade_Reports (Grade_report is for a specific course).
A Grade_Reportmust relate to one and only one (1) Student.
(Students may be in the database and not registered for any courses, but if a course is recorded in the Grade_report table, it must be related to one and only one student).
A Sectionmust have one or more (M) Grade_Reports (Sections only exist if they have students in them).
A Grade_Reportmust relate to one and only one (1) Section.
A Sectionmust relate to one and only one (1) Course.
A Coursemay be offered as one or more (M) Sections.
(Courses may exist where they are not offered in a section, but a section, if offered, must relate to one and only one course).
A Studentmay be related to one and only one (1) Department_to_major (A student may or may not have declared a major).
A Department_to_majormay have one or more (M) Students (A department may or may not have student-majors).
A Coursemust be related to one and only one (1) Department_to_major.
A Department_to_majormay offer one or more (M) Courses.
A Sectionmust be offered in one and only one (1) Room.
A Roommay host one or more (M) Sections.
A Coursemay have one or more (M) Prereq (A course may have one or more prerequisites).
A Prereqmay be a prerequisite for one or more (M) Courses.
A Studentmay have one or more (M) Dependents.
A Dependentmust be related to one or more (N) Students.
Table A-2. Table definition of other tables that have been used in this book
PLANTS
COMPANY NVARCHAR(20)
PLANTLO NVARCHAR(15)
PRIMARY KEY(COMPANY, PLANTLO)
CAP
NAME NVARCHAR(9)
LANGU NVARCHAR(7)
PRIMARY KEY(NAME, LANGU)