Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

Help 02. Consider the following relational database for the Greenzoo. Each animal has a unique animal number and each enclosure has a unique enclosure number.

Help image text in transcribed
image text in transcribed
02. Consider the following relational database for the Greenzoo. Each animal has a unique animal number and each enclosure has a unique enclosure number. An animal can live in only one enclosure. An enclosure can have several animals in it or it can be currently empty. A l zookeeper has a unique employee sumber. Every animal has been cared for by one and generally many zookeepers; each zookeeper has cared for at least one and generally many animals. Each time a zookeeper performs a speciflc, significant service for an animal the service type, date, and time are recorded. A zookeeper may perform a particular service a given day. ENCLOSURE EnclosureNumber Ty Location S NIMAL Animal Number Species AnimalName GenderCountryOf Birth We EnclosureNumber ZOOKEEPER Employee Number EmployeeName Tale Yeartired CARESFOR AnimalNumber Employee Number Service Lype Date I-Time Write SQL to answer the following queries. (10 points) a. Find the size of enclosure number 2582 b. List the names and numbers of the female tigers who live in enclosure number 4627

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

Students also viewed these Databases questions

Question

Why do HCMSs exist? Do they change over time?

Answered: 1 week ago