Activity 1
Query (Performing searches on tblCars table) – Create query using query wizard.
Open the cars table database and do the following for performing searches (query)
1. A customer would like a car made by Ford. Find the customer a list of all the cars in the
garage made by Ford.
2. The manager would like to see all the details of all the Fords that need
valeting.
3. The manager would like to see all the details of all the cars made by
Ford or Vauxhall.
4. The manager would like to see all the details of all the cars that have
alloy wheels.
5. The Sales Manager would like to see details of all the cars in stock for
sale for less than or
equal to £4125.
Activity-2
Query (Performing searches on stationery table) – Create query using query wizard.
Open the database file stationery.accdb
Search the database to find the following information for your manager.
For each search
show all the fields in the table.
1 Find all the blue stationery items.
2 Find all the blue or black stationery items.
3 Find all the items where the colour is not blue.
4 Find all the red items where the discount is yes.
5 Find all the items where the type contains the word ‘file’.
6 Find all the items where the description contains the word ‘file’.
7 Find all items with a quantity of less than or equal to 10.
8 Find all items where the quantity is 10.
9 Find all items with a quantity of greater than 1.
10 Find all items with a quantity of greater than or equal to 10.
11 Find all items where the sales price is less than £10.