Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

Lab 1: An Algebraie Query Language I. We have the database schema consists of five relations: Movies (title, year, length, genre, studioName, producer StarsIn (movieTitle,

image text in transcribed
image text in transcribed
Lab 1: An Algebraie Query Language I. We have the database schema consists of five relations: Movies (title, year, length, genre, studioName, producer StarsIn (movieTitle, movieYear, starName) MovieStar (name, address, gender, birthdate) MovieExec (producert, name, address, networth) Studio (name, address, presc#) Write expressions of relational algebra to answer the following queries. 1. Find title and length of movies produced by Disney in 1990. 2. Find date of birth of Aishwarya Rai who is a movie star 3. Find the address of studio Film City. 4. List name of the female stars in the film "Monsoon Wedding" 5. List name and gender of stars that appeared in movies produced by Sony in 2005. 6. Find name of the producer of Star Wars. 7. Find name of executives that are worth more than Subhash Ghai. 8. Find title of movies that are no longer than "Bride and Prejudice" 9. List all the titles and years of movies that appeared in either the Movies or StarsIn relation. 10. Find name and address of all male movie stars who are also movic executives with a net worth under $10,000,000

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

Beginning C# 2005 Databases

Authors: Karli Watson

1st Edition

0470044063, 978-0470044063

More Books

Students also viewed these Databases questions

Question

Prove that in Theorem C, Condition (3) implies Condition (2)?

Answered: 1 week ago

Question

3. Which of the following are conditional probabilities?

Answered: 1 week ago