Question: Consider the above E-R diagram, write SQL statements to create the corresponding relations and capture as many of the constraints as possible. If cannot capture

 Consider the above E-R diagram, write SQL statements to create the corresponding relations and capture as many of the constraints as possible. If

Consider the above E-R diagram, write SQL statements to create the corresponding relations and capture as many of the constraints as possible. If cannot capture some constraints, explain why. Make sure that the data type and size for each attribute are appropriate. For example, a numerical data type is better choice than a string data type for the attribute weight. In addition, write SQL statements to load data into each relation. You are required to come up with at least 5 records for each table. Please put your SQL statements into a SQL script file and submit it to Blackboard. Make sure your SQL script file can be run successfully in MySQL before submitting it. If it has any syntax error, your grade of this assignment will be a ZERO. If your file can be run without error messages, the maximum possible points for each portion are listed below: Create Tables . Load Data 45 points 45 points 10 points Constraints

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!