Do the following exercises:

  1. Exercise 5.14

  2. Exercise 5.20.a & c

  3. Write the SQL commands to retrieve the following from the customer-order database you built above.

    1. all the order dates and amounts for orders made by a customer with a particular name (one that exists in your database), ordered chronologically by date
    2. all the customer ID numbers for customers who have at least one order in the database
    3. the customer IDs and names of the people who have ordered an item with a particular name (one that exists in your database)
  4. Complete lab exercises 2.3 & 2.4.

Store your solutions to the questions specified above in homework02.sql, either as SQL commands or as textual comments.

Checking in

We will grade your work according to the following criteria: