Purpose:
You may make a copy of a worksheet and complete this activity, or simply type your answers in any text editor.
You may work alone or with at most 2 other students (max size=3) in this course.
Answer the following questions / complete the following tasks.
(a) value in column is a string (b) value in column is not null (c) value in column is unique in that column of the table (d) value in column is the key of a tuple in the table (e) value in column is a positive integer (f) values in columns are different (g) date values in column is not in the past (h) all of the above (i) none of the above
Users(uid, uname, city) Picture(pid, author, size, pdf) Users stores all users; uid is the key. Picture stores their pictures; pid is the key; author is the uid of the picture's author; size represents the size of the picture in bytes; pdf is the actual pdf content of the picture. uid, pid, author, size are integers; uname, city, pdf are text.
Boats (bid, bname, color) Sailors (sid, sname, rating, age) Reserves (sid, bid, day)
To test your SQL, you should insert some data. The following SQL commands are provided for your convenience.
INSERT INTO Reserves VALUES (22, 102, '2023-03-13'); INSERT INTO Reserves VALUES (22, 103, '2023-03-13'); INSERT INTO Reserves VALUES (22, 105, '2023-03-13');
 CC-BY-NC-SA 4.0 license.