Computer Science 455
Exercise Set #5
Due: As noted
1. (20 pts.) Consider the following form:
Riverside Video Rentals | ||||||||
Customer Name | Hercule Poirot | Clerk Number | A123 | |||||
Customer Number | C125 | Clerk Name | A. Christie | |||||
Customer Address | 812 Jefferson St | |||||||
Moscow | Idaho | Date | 1-Apr-02 | |||||
(208) 882-1234 | ||||||||
DVD # | DVD Name | Rating | Daily Charge | Due | ||||
D324 | Attack of the Killer Tomatoes | PG | $1.00 | 5-Apr-02 | ||||
D792 | Bye-bye Braverman | G | $1.00 | 12-Apr-02 | ||||
D492 | Red Lanterns | R | $1.50 | 12-Apr-02 | ||||
Due: Tuesday, April 9, in class
2. More SQL (20 pts.)
On pages 185 - 186 work the following problems as SQL exercises (they are expressed as questions in the relational algebra - ignore this for now):
Problem 16 (i.e., 6.16), 22, 24 - 27, 29, 30, 33 - 36, 39 - 46 (20 problems in all)
Place the results in a file called SQL02.SQL in your handins folder on Plato. Please begin each file with SET ECHO ON, and please do not use the exit command.
Due: Friday, April 12
Any questions? Please let me know. Many thanks!