Question: Given the CREATE TABLE statement below, add the following three constraints: - primary key constraint that (cid,sid) is a composite primary key. - foreign
Given the CREATE TABLE statement below, add the following three constraints: - primary key constraint that (cid,sid) is a composite primary key. - foreign key constraint that cid is a foreign key that references cid in the table course - - constraint that Semester should be equal to "Sp21" CREATE TABLE Registration (cid INTEGER, sid INTEGER, Semester CHAR(10), );
Step by Step Solution
There are 3 Steps involved in it
the modified CREATE TABLE statement with the added constra... View full answer
Get step-by-step solutions from verified subject matter experts
