Professional Documents
Culture Documents
Project
Project
Instructions: Using the data shown in the Tables a-d above and the information
in the previous paragraph:
1. Create a Philamar database that will capture the information as presented
in the case study. For each query created, save the query with an
appropriate name. For example, a query to create the Trainer Table would
be called CreateTableTrainer.
a) For each client from Kingston, show the amount they have already paid. Save
the query as SelectQuery1
b) Show the total amount received from clients for each city. Take note of the
formatting as shown in the snapshot below. Save the query as SelectQuery2
c) Assuming each trainer works 5 hours in a day. How much does each Trainer
make in a day? A snapshot of the potential output is below. Save the query as
SelectQuery3
d) Increase the hourly rate of all trainees who live in the city Burdett or Camino by
20%. Save the query as SelectQuery4
e) Show all trainers and their associated clients (including those with no clients
yet) sorted by client name in descending order. Use the Join operator in your query.
See the output below and save the query as SelectQuery 5