Question: Make sure your SQL script file can be run successfully in MySQL before submitting it . If it can't be run, your grade for this

Make sure your SQL script file can be run successfully in MySQL before submitting it. If
it can't be run, your grade for 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 70 points
Constraints 10 points
Insert Tuples 20 points DROP DATABASE IF EXISTS Lab3YourLastName;
CREATE DATABASE Lab3 YourLastName;
USE Lab3YourLastName;
??********
Task 1: create tables
**************
CREATE TABLE
??**********
Task 2: uncaptured constraints
put your response here
....
************?
??**********
Task 3: Add records
**************
INSERT INTO ...Tasks: Considering the following E-R diagram, you need to translate it into a relational
database and add some data to the tables.
a) Write SQL statements to create the corresponding relations and capture as many
of the participation and cardinality constraints as possible. Make sure that the data
type and size for each attribute are appropriate.
b) If some constraints in the diagram cannot be captured, explain why.
c) Write SQL statements to insert at least two tuples for each table
Make sure your SQL script file can be run successfully in MySQL before submitting it. If
it can't be run, your grade for this assignment will be a ZERO. If your file can be run
 Make sure your SQL script file can be run successfully in

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!