

Study with the several resources on Docsity
Earn points by helping other students or get them with a premium plan
Prepare for your exams
Study with the several resources on Docsity
Earn points to download
Earn points by helping other students or get them with a premium plan
Instructions and questions for homework assignment 2 of the cs180 database management systems course offered in winter 2003. The assignment includes exercises from the textbook and database schema-related queries.
Typology: Assignments
1 / 2
This page cannot be seen from the preview
Don't miss anything!


Instructions : Answer all the questions concisely below. Points will be taken off for unnecessarily long answers. Please remember to include your name, student-id number, and email address in your homework submission.
FROM R r, S s WHERE r.A = s.A AND s.B < 10
For each of the following, write a TRC or DRC query. If a relational calculus query cannot be used to answer the question, write an SQL query to answer the question. If an SQL query is given as an answer when it can be answered with a relational calculus query, no credit will be given. If your answer is huge, please explain each part. Again, no credit will be given for unexplained answers.