Question: I need help with three differnt querys for this animal table A,B,And C ANIMAL (AnimalID, NickName, Species, Sex, Age, Exhibit , Keeper ) EXHIBIT (ExhibitName,
I need help with three differnt querys for this animal table A,B,And C
ANIMAL (AnimalID, NickName, Species, Sex, Age, Exhibit, Keeper)
EXHIBIT (ExhibitName, Environment)
KEEPER (KeeperID, LastName, FirstName)
Exhibit in ANIMAL must exist in ExhibitName in EXHIBIT.
Keeper in ANIMAL must exist in KeeperID in KEEPER.
:
ANIMAL
| AnimalID | NickName | Species | Sex | Age | Exhibit | Keeper |
| 1 | Biggo | Elephant | Male | 37 | Africa | 1 |
| 2 | Biggette | Elephant | Female | 27 | Africa | 1 |
| 3 | Josie | Camel | Female | 17 | Africa | 1 |
| 4 | Flipper | Porpoise | Male | 7 | Ocean | 2 |
| 5 | Patty | Porpoise | Female | 5 | Ocean | 2 |
| 6 | Sally | Seal | Female | 8 | Ocean | 3 |
| 7 | Tusky | Walrus | Male | 12 | Ocean | 3 |
EXHIBIT
| ExhibitName | Environment |
| Africa | Grassland |
| Ocean | Saltwater |
KEEPER
| KeeperID | LastName | FirstName |
| 1 | Abrams | Beth |
| 2 | Cooley | Doug |
| 3 | Evertt | Fran |
Using Microsoft Access SQL, create and run queries to answer the questions that follow. Save each query using the query name format SQLQuery-Review-#, where the # sign is replaced by the letter of the question.
Hint: If the same column name is contained in two different tables, Microsoft Access requires the table name to be specified with the column name, for example: EMPLOYEE.EmployeeNumber
Make sure your queries run with no error messages or input prompts from Microsoft Access.
A.Create an SQL query to display the exhibit, species, sex, age, and nickname of each animal. Create, run, and save this SQL query as SQLQuery-Review-A.
B.Create an SQL query to display the species, sex, age, and nickname of all animals in the African exhibit. Create, run, and save this SQL query as SQLQuery-Review-B.
C.Create an SQL query to display each animal's nickname and species, along with its exhibit and environment. Create, run, and save this SQL query as SQLQuery-Review-C.
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
