Download the Access file HenryBooks.mdb
(it's the same one as in H2).
Queries: [Number 8 is worth 12 extra credit points.]
- Which books have been published in paperback? List author last name and book
title. Sort by last name.
- Find the average price of each type of book. Format price as currency.
- For each branch store, list the number of books on hand.
- List all fiction (FIC) books published in New York. Just show the book title
and publisher name.
- Find the average price of all books for which there are more than 2 on hand
in inventory.
- The president of Henry Books would like to know the average price of books
at each of the four branches. But she wants the prices
broken down by type. And she only wants the prices for fiction (FIC),
horror (HOR), mystery (MYS), and science fiction (SFI).
Format your results using currency.
- (challenging) List all publishers that do not have any books at the
Henry Brentwood branch.
- (more challenging) Which author has the most number
of books on hand in inventory? List author last name and number of books on hand.
Requirements:
- Your seven (or eight) queries in part 2 above, must be named Q1,...,Q7, (Q8).
- Your database file must be called smith-H3.mdb, where Smith is your last name.
- Double check that your database file opens properly and contains your seven
(eight) queries.
- Just before you submit your database, open it one final time. Click
on: Tools | Database Utilities | Compact and Repair Database...
Now close your database. This step can save quite a bit of space. - Submit your smith-H3.mdb file using COLweb.