0% found this document useful (0 votes)
18 views3 pages

Access Worksheet 1-2

The document provides instructions for creating a database named 'John's Grooming' for a pet grooming salon, including the structure and data entry for Pet and Groomer tables. It outlines the creation of queries to extract specific information from the Pet table, such as average age, sorted lists, and counts grouped by breed and groomer. Additionally, it details the creation of forms and reports based on the data entered in the database.

Uploaded by

sports
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as DOCX, PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
18 views3 pages

Access Worksheet 1-2

The document provides instructions for creating a database named 'John's Grooming' for a pet grooming salon, including the structure and data entry for Pet and Groomer tables. It outlines the creation of queries to extract specific information from the Pet table, such as average age, sorted lists, and counts grouped by breed and groomer. Additionally, it details the creation of forms and reports based on the data entered in the database.

Uploaded by

sports
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as DOCX, PDF, TXT or read online on Scribd
You are on page 1/ 3

Microsoft Access Worksheet – Part 1&2

Creating a Database for a Pet Grooming Salon


March 14, 2016

Instructions: The structure for the Pet table is shown in Table A1B – 1. The structure for the
Groomer table is shown in Table A1B – 2. The data for the Pet table and the Groomer table can be
found in the data files for this lab test. See your instructor for instructions on accessing the data files for
this lab test.

1. Create a new database to store the tables related to the not-for-profit organization data. Call the
database John’s Grooming.
2. Create the Pet table using the structure shown in Table A1B – 1. Make the Pet ID the primary key.
Use the name, Pet, for the table.
3. Enter the data for the Pet table from the data sheet given.
4. Create the Groomer table using the structure shown in Table A1B – 2. Make the Groomer ID an
index with duplicates. Use the name, Groomer, for the table.
5. Enter the data for the Pet table from the data sheet given
6. Create a query for the Pet table. Include the Pet ID, Owner Name, Dog Name, Breed, and Groomer
ID in the query. Save the query as Pet Query.
7. Open the Pet Query and add a criterion to show only the groomer whose id is 489953. Save the
query as Pet – Groomer 489953 Query.
10. Create a simple form for the Groomer table. Use the name, Groomer Form, for the form.
11. Create the report shown in Figure A1B – 1 for the Pet table. Add a count for Pet ID.
12. Submit the database on Aeorion when Part1 and Part2 is completed.

Part 2- Queries

Instructions: Use the database created in Access Worksheet – Part 1, John’s


John Grooming .
Create queries to provide the following information from the Pet table.

1. Create a list showing the Pet ID, Breed, and Dog Name sorted by Dog Name within Breed. Save the
query as Step 1.

2. Create a list showing the average age of the pets in all breeds. Save the query as Step 2.

3. Create a list showing the lowest age listed for a breed. Save the query as Step3.

4. Create a list with Pet ID, Owner Name, Dog Name, Breed, and Groomer ID of Pets where the
Groomer ID begins with a 4 or 6. Save the query as Step 4.

5. Create a list of pets with their associated groomers. The list should show the Station Number, Full
Name, and Dog Name, and should be in ascending order by Dog Name within Station. Save the query as
Step 5

Page 1
6. Using both tables, a list that includes the Groomer ID, Full Name, Station Number, Dog Name, and
Base Rate of all dogs whose groomers have a base rate greater than $40 and have a Station Number of 1.
Save the query as Step 6.

7. Display a count of the pets, grouped by breed. Save the query as Step 8.

8. Using both tables, a count of the pets, grouped by groomer’s full name. Show only the top two
groomers. Save the query as Step 9.

9. Create a list of pets for each station. Use a parameter to select the station. Save the query as Step 11.

Page 2
Structure of the Pet table
Field Name Data Type Field Size Primary Key? Description
Pet ID Short Text 4 Yes Pet ID (Primary Key)
Owner Name Short Text 25
Dog Name Short Text 20
Gender Short Text 1 Gender (M or F)
Age Number
Breed Short Text 25
Groomer ID Short Text 6
Table A1B – 1

 Structure of the Groomer table


Field Name Data Type Field Size Primary Key? Description
Groomer ID Short Text 6 Yes Groomer ID (Primary Key)
Full Name Short Text 30
Station Num Short Text 1 Preferred working station number
Base Rate Currency Base rate for grooming
Table A1B – 2

Figure A1B – 1

Page 3

You might also like