Question: Sailors(sid:integer, sanme:string, rating:integer, age:real) Boats(bid;integer, bnamesstring, color:string) Reserves(sid:integer, bid:integer, day:date) Suppose the three tables above represent a state of a relational database. Which of the


Sailors(sid:integer, sanme:string, rating:integer, age:real) Boats(bid;integer, bnamesstring, color:string) Reserves(sid:integer, bid:integer, day:date) Suppose the three tables above represent a state of a relational database. Which of the following is an illegal SQL statement? INSERT INTO Boats (bid, bname, rating, color) VALUES (105, NULL, NULL, NULL); B INSERT INTO Reserves(sid, bid, day) VALUES(22,104,'1998-9-8'); UPDATE Reserves R SET R.sid =85 WHERE R.sid =22 D All of the above three
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
