Question: Answer questions 1 - 7 in relational algebra. Make sure you ANSWER 1 - 7 . Thank you. Will upvote Suppose a database has the

Answer questions 1-7 in relational algebra. Make sure you ANSWER 1-7. Thank you. Will upvote
Suppose a database has the following three relations.
Artttem (aid: integer, title: string, wejghtPod: integer, type: string, pricePajd: 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, sizeSgMi: 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.
"birthregion" in Artist is a foreign key referencing "regionname" in Regions. A region where an artist was born might be a country, like Vietnam, or a particular area within a country, like Siberia, or a city, like New York City.
You may assume simple boolean comparisons ),>,( work on dates.
If you are unfamiliar with art museums, they will frequently organize special exhibitions. Museums will borrow art from other museums for a few months, art that fits an exhibition theme, and charge a small extra fee for admission to the exhibition. For examples, here are some past Asian Art Museum of San Francisco exhibitions. Art items must, of course, be insured appropriately before they leave their home museum and are shipped to the exhibition host museum, in case of loss or damage in transit. Some exhibitions will tour art around the world, displaying it at one museum for a few months 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.
Find the artist first and last names, and exhibition titles, for exhibitions that include art items created by that artist, where the insurance cost for including that art item is greater than $1,000.
Find the exhibition titles for exhibitions that include art items that cost either less than $100 to buy, or more than $1,000,000.(The price paid for the art item, the last time it was sold, was either very small or very large.)
Find the exhibition titles for exhibitions that include art items that cost either less than $100 to buy, and also include art items that cost more than $1,000,000.(The price paid for the art item, the last time it was sold, was either very small or very large.)
 Answer questions 1-7 in relational algebra. Make sure you ANSWER 1-7.

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!