HITEK Computer Services - Queries

The brief given to you by Pat Miller included being able to find out the following information:

  1. print out up-to-date lists of customer names & addresses with company names in alphabetical order
  2. make it easy to find computers which do not have a service contract and contact their owners 
  3. find out which customers only have return to base or next business day (NBD) warranties and persuade them to upgrade
  4. find out which engineers built which computers
  5. contact customers who do not have addresses in Warrington AND who do have a warranty to offer them telephone support while waiting for an engineer to arrive
  6. contact customers with a service contract who have not got much memory installed in their computers to offer them a cut-price upgrade
  7. contact customers with a service contract whose PC is between 6 and 12 months old to offer them an inspection

 

Query 1  Lists of customer names & addresses in alphabetical order

You can make this query MUCH MORE USEFUL by including next to each customer how many computers each one owns

STEP 1 - Create Query and add tables

STEP 2-  SELECT FIELDS TO BE INCLUDED IN THE QUERY

 

STEP 3 - SELECT CRITERIA FOR QUERY

Question:   Why was serial number chosen as the field to count?  Ask your teacher if you are unsure.

 

STEP 4 - SAVE AND RUN QUERY

 

Query 2  Find computers which do not have a service contract

QUESTION:  

This query only uses information from the customers and warranty table but you must add all 3 queries to the query design.  Below is a picture of the relationships without the computer table.  

Why will your query not work with just the 2 tables as part of the design?
Ask your teacher if you are not sure.

 

 

Query 3 - Customers that have return to base or next business day (NBD) warranties 

Query 4 - find out which engineers installed which computers

QUESTION - Can you think of better fields to sort?

 

Query 5 - Customers who do not have addresses in Warrington and do have a Warranty

 

Query 6 - customers with a service contract who have not got much memory installed in their computers

Query 7 customers with a service contract whose PC is between 6 and 12 months old

The example below was created on 3 December 2001 - yours will be 6 to 12 months from today's date

 

Introduction     Setting up tables  Inputting Data
Creating Relationships  Queries, Sorts & Calculations Reports
Graphs