Question: a ) Write SQL statements to create the corresponding relations and capture as many of the participation and cardinality constraints as possible. Make sure that
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
Name: YourNameGoesHere
Class: CST
Date:
I have not received or given help on this assignment: YourName
DROP DATABASE IF EXISTS LabYourLastName;
CREATE DATABASE LabYourLastName;
USE LabYourLastName;
Task : create tables
CREATE TABLE
Task : uncaptured constraints
put your response here
Task : Add records
INSERT INTO
Fix all errors and show the outcome of the code.
Step by Step Solution
There are 3 Steps involved in it
1 Expert Approved Answer
Step: 1 Unlock
Question Has Been Solved by an Expert!
Get step-by-step solutions from verified subject matter experts
Step: 2 Unlock
Step: 3 Unlock
