Due: Wednesday, Dec. 3
This is an HTML version of the handout Jake prepared for 11/24/97. It should be identical except for formatting. Check the mailing list for corrections or further instructions on the use of the software. In calculating the final course grade, this will be part of the "Hands-On" category (so is the Microsoft Access part of a previous homework).
MSAccess would not allow us to use several important SQL keywords. To give you practice with such keywords and with a new query application, this assignment requires you to implement 5 queries in Microsoft SQL Server. The queries are based on the Movies Database. This database was imported to SQL Server. All tables and attributes are identical to the original schema:
Customers
CustID |
LastName |
FirstName |
Inventory
TapeID |
MovieID |
Movies
MovieID |
MovieName |
MovieSupplier
SupplierID |
MovieID |
Price |
Orders
OrderID |
SupplierID |
MovieID |
Copies |
Rentals
CustomerID |
TapeID |
CkoutDate |
Duration |
Suppliers
SupplierID |
SupplierName |
To turn in:
Run each of the following queries in SQL Server. Print out the query and the resulting table. (Note: The first 2 are directly from HW2. You can use the solution sheet for HW2 to do these.)
Using Microsoft SQL Server…