Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

( Let me know if the diagram is too small and you want a bigger version of it . ) 3 . Suppose a database

(Let me know if the diagram is too small and you want a bigger version of it.)
3. Suppose a database has the following three relations.
Artltem (aid: integer, title: string, weightPnd: integer, type: string, pricePaid: integer, creator: integer)
ExhibitsIn (artID: integer, exhibitID: integer, insuranceCost: integer, deliveryDate: date, homeMuseum: integer)
Exhibition (eID: integer, title: string, curatorName: string, specialFee: integer)
Artist (personID: integer, lastname: string, firstname: string, birthyear: integer, birthregion: string, bio: string)
Regions (regionname: string, latitude: string, longitude: string, sizeSqMi: integer, climate: string)
(The "bit" data type stores 0 or 1. False or true. Booleans.)
"exhibitID" in ExhibitsIn is a foreign key referencing "eid" in Exhibition.
"artID" in ExhibitsIn is a foreign key referencing "aid" in ArtItem. The art item weights are measured in pounds.
"creator" in ArtItem is a foreign key referencing "personID" in Artist. city, like New York City.
You may assume simple boolean comparisons ),>,( work on dates. before moving on to a museum in a different city (or country).
Write the following queries in relational algebra.
Find the last names and first names of artists born before 1600.
Find the climate, region names, last names and first names for artists born in regions that are "tropical" in climate.
Find the titles of art items, and the last and first names of the artists who created them, for art items that weigh more than 100 pounds.
Find the titles of art items, the last and first names of artists, and the artists' birth regions, for artists who come from a region less than 500 square miles in size. very small or very large.) last time it was sold, was either very small or very large.)
image text in transcribed

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

Database Development For Dummies

Authors: Allen G. Taylor

1st Edition

978-0764507526

More Books

Students also viewed these Databases questions

Question

5. Arranging for the training facility and room.

Answered: 1 week ago

Question

1. Discuss the five types of learner outcomes.

Answered: 1 week ago