Question: Write SQL statements to create the corresponding relations and capture as many of the constraints as possible. figure for an art gallery in Greensboro. Write
Write SQL statements to create the corresponding relations and capture as many of the constraints as possible.

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 be run without error messages, the maximum possible points for each portion are listed below: Create Tables 45 points Load Data45 points Constraints 10 points address address IName ssn hone mName fName bTitle Branches WorksAt Employees ID Stores location status fName ame category ublishYr ID IName ublisher title Books Writes Authors costLate costLoss CheckOut Members checkOutDate ID ne birthda ueDate returnDate ame address AudioBooks mName printBooks IName phone narrator language ISBN ASINClistenLength
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
