Lab 1.3 Exercises
1.3.1 Understand the Schema Diagram and Identify Table Relationships
What does the Student schema diagram represent?
Does the Student schema diagram tell you where a student lives? Explain.
What four columns are common to all tables in the Student schema diagram?
What is the primary key of the course table?
How many primary keys does the enrollment table have? Name the column(s).
How many foreign keys does the section table have?
Will a foreign key column in a table accept any data value? Explain using the STUDENT and ZIPCODE tables.
If the relationship between the zipcode and student tables were optional, what would have to change in the student table?
From what domain of values (what column in what table) do you think the prerequisite column of the course table gets its values?
Explain the relationship(s) the enrollment table has to other table(s).