Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

Need Some help for The D and E queries for this animal table ANIMAL (AnimalID, NickName, Species, Sex, Age, Exhibit , Keeper ) EXHIBIT (ExhibitName,

Need Some help for The D and E queries for this animal table

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.

The following data has already been inserted in Zoo Starter.accdb:

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

SQL Queries: 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.

Query D . Create an SQL query to display the nickname, species, exhibit, and environment of all males younger than 12. Create, run, and save this SQL query as SQLQuery-Review-D.

Query E . Create an SQL query to display the nickname, species, exhibit, environment, and keeper (first and last names) of all females older than 5 who live in a saltwater environment. Create, run, and save this SQL query as SQLQuery-Review-E.

Step by Step Solution

There are 3 Steps involved in it

Step: 1

blur-text-image

Get Instant Access to Expert-Tailored Solutions

See step-by-step solutions with expert insights and AI powered tools for academic success

Step: 2

blur-text-image

Step: 3

blur-text-image

Ace Your Homework with AI

Get the answers you need in no time with our AI-driven, step-by-step assistance

Get Started

Recommended Textbook for

Advances In Databases And Information Systems 22nd European Conference Adbis 2018 Budapest Hungary September 2 5 2018 Proceedings Lncs 11019

Authors: Andras Benczur ,Bernhard Thalheim ,Tomas Horvath

1st Edition

3319983970, 978-3319983974

More Books

Students also viewed these Databases questions

Question

13. Which is better, cable modem or DSL? Explain.

Answered: 1 week ago