Petshop Database
Petshop Database
Create another table called OWNERS. The design view for OWNERS table is shown
below:
Field name Data type Description Field size Primary key
OwnerID Text Owner number 4 yes
Ownername Text Owner name 35
Ownernumber Text Telephone number 8
Address Text Owner’s address 18
Parish Text Owner Parish 15
Please add one record of your own to both the OWNER and PETINFO tables.
Database Management
Creating Queries
1. Display PetID, Petname, Petweight of all pets with a weight greater than 10
pounds. Name the query Pet_weight.
2. List the names of all the pets owned by Carol Brown, the query should display the
Petname, Petype and owners’ name. Name the query as C_Brown .
3. List all the name of the pets whose pet names begin with the letter Z. Name the
query Petname_Z.
4. List the names of all the Cats .Name the query Cats.
5. List the names of all the dogs .Name the query Dogs.
6. List the names of all the horses .Name the query Horses.
7. List the names of all the Hamsters .Name the query Hamsters.
8. List all the name of the pets whose pet names end with the letter M and the weight
is greater than 10lbs. Name the query Pet_R10.
9. What is the name of the owner of the Amarillo, display the PETID, Pet name,
owner’s name and owner telephone number? Name the query as Amarillo.
10. List the names of all Cats who weigh 10 pounds or less. Name the query
Catweight.