Question: Given the following CREATE TABLE statement, add primary key constraint that sid is primary key and another constraint that rating should be between 0

Given the following CREATE TABLE statement, add primary key constraint that sid is primary key and another 

Given the following CREATE TABLE statement, add primary key constraint that sid is primary key and another constraint that rating should be between 0 and 10. CREATE TABLE Sailors (sid INTEGER, sname CHAR(10), rating INTEGER, age REAL);

Step by Step Solution

3.43 Rating (159 Votes )

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock

CREATE TABLE Sailors sid INT... View full answer

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!