I need help with the syntax And also what key am I suppose to use? unique? prima
ID: 3853905 • Letter: I
Question
I need help with the syntax And also what key am I suppose to use? unique? primary? foreign? pls explain..this is my syntax
create table Movie(mID int unique, title VARCHAR(200), year int, director VARCHAR(200), Primary Key(title,year));
create table Reviewer(rID int unique, name VARCHAR(200) NOT NULL);
create table Rating(rID int , mID int , stars int NOT NULL , ratingDate date );
Explanation / Answer
The correct required queries are given below.
Related Questions
Hire Me For All Your Tutoring Needs
Integrity-first tutoring: clear explanations, guidance, and feedback.
Drop an Email at
drjack9650@gmail.com
drjack9650@gmail.com
Navigate
Integrity-first tutoring: explanations and feedback only — we do not complete graded work. Learn more.