Query Practice
Query Practice
February 3, 2010
1. List customers with agreements, including their name, employee who completed the
agreement, agreement date, and room number.
2. Create a list of buildings and units with exterior access that are over 80 cubic feet in
size.
3. Create a list of payments made in January 2010 where the amount paid was more
than the amount due. List customer name, building, and unit.
4. How many units are in each building?
5. Which customers don’t live in Lacey, Olympia, or Tumwater but in Washington?
6. Which customers have an active agreement?
7. Are there any units rented more than once?
8. Which employees have received more than one payment?
9. List all units’ building, room, exterior access, and size. Indicate unit size using the
following: 64-80 cubic feet is small, 80-100 cubic feet is medium, over 100 cubic feet is
large.