1. Create a new database named Barista.
1. In the new database, create a new table
named Product with the following fields:
o ProductID: a 4 character long text field (make it
the primary key)
o CoffeeCode: a 4 character long text field
o Price: a currency field
o Decaf: a 1 character long text field (make the
default value "D")
o BackOrdered: a Yes/No field
2. Add the following data to the Product table:
Note: Checking a box in a "Yes/No" field is equivalent
to "Yes". Unchecked is equivalent to "No".
2316 BRUM 8.99 Yes
9754 HAZL 40.00 D Yes
9309 COCO 9.99 D No
3. Add a new field after the CoffeeCode field in the
Product table. It should be named WeightCode. Make
it a 1 character long text field.
4. Add the following weight codes to the items with the
following ProductIDs:
2. o ProductID: 2316, WeightCode: A
o ProductID: 9309, WeightCode: A
o ProductID: 9754, WeightCode: E
5. Add the following record to the Product table:
o ProductID: 9729
o CoffeeCode: COLS
o WeightCode: E
o Decaf: D
o Price: 39.75
o BackOrdered: Yes
6. Close Product table.
7. Using the Product table, create a query to find the
ProductID, WeightCode, and Price where CoffeeCode
is equal to "BRUM". Have the query sort the results in
descending order by price, and don't show the
CoffeeCode field. Name the query BrumCoffees.
3. 8. Create a new query using design view
o display the ProductID, coffee code.Decaf and Price
fields
o sort the data in ascending order based on the
CoffeeCode field
o have the query only display records where the
Price > 35.00
o save the query with the name CoffeesPrices