Answered step by step
Verified Expert Solution
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,
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
Get Instant Access to Expert-Tailored Solutions
See step-by-step solutions with expert insights and AI powered tools for academic success
Step: 2
Step: 3
Ace Your Homework with AI
Get the answers you need in no time with our AI-driven, step-by-step assistance
Get Started