Question: Right a SQL code that will display the chart above. Thank you! Consider the scenario from homework 1, where we designed an ER diagram as

 Right a SQL code that will display the chart above. Thank

Right a SQL code that will display the chart above. Thank you!

Consider the scenario from homework 1, where we designed an ER diagram as represented in the following figure for an art gallery in Greensboro. 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 salary. Please put your SQL statements into a SQL script file and submit it to the assignment link. Make sure your SQL script file can be run successfully in MySQL before submitting it. If it can't be run, your grade of this assignment will be a ZERO. If your file can berun without error messages, the maximum possible points for each portion are listed below: Create Tables Load Data Constraints 45 points 45 points 10 points IName mName Title Nam Employees Branches WorksAt Stores location status ublishYr category ID IName titleBooks Writes Authors ID costLate costLoss checkOutDate ID ueDa urnDate printBooks AudioBooks mName IName ISBN ASIN

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!