Question: 1. (Weight: 50%) Write SQL statements that create the tables according to the given ER diagram. Your code should include constraints that enforce primary key,

 1. (Weight: 50%) Write SQL statements that create the tables according

1. (Weight: 50%) Write SQL statements that create the tables according to the given ER diagram. Your code should include constraints that enforce primary key, foreign key, and deletion rule constraints.

2. (Weight: 30%) Write SQL statements that populate the tables according to the data mentioned in the description or your own made up data. (Dont populate too much data, just enough so you can do the questions below).

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!