|
Fall Semester 2004 |
Also, please make sure you read, understand, and comply with
before turning in your assignment.
For the QBE exercises turn in two databases (one for each) containing the queries, in OnCourse.
For the Relational Algebra exercises (p. 64) turn your answers clearly written on a piece of paper, in lab, to your instructor.
Thus, database one and database two shown and used in class are good examples of what's needed.
(The queries presented with these two databases are those for Homework One).
For the Relational Algebra part I give an example:
JOIN Customer, Orders, Rep
WHERE Customer.CustomerNum = Orders.CustomerNum AND
Customer.RepNum = Rep.RepNum
GIVING One
SELECT One
WHERE LastName = 'Kaiser'
GIVING Two
PROJECT Two
OVER (OrderNum, OrderDate, CustomerNum, CustomerName)
GIVING Three
What is obtained as Three is the answer.