Answered step by step
Verified Expert Solution
Question
1 Approved Answer
Assume a database with the schema: ACTOR (name, age, address, nationality) MOVIE(title, year, budget, director-name, studio) APPEARS(name, title, salary) Write the following questions in relational
Assume a database with the schema:
ACTOR (name, age, address, nationality)
MOVIE(title, year, budget, director-name, studio)
APPEARS(name, title, salary)
Write the following questions in relational algebra:
(a) List the names and nationalities of actors that have appeared in any movie produced by studio 'MGM' in the year 2000. (b) List pairs of actors names that have appeared together in some movie. That is, ist pairs (namel,name2) whenever there is some movie ' such that both 'namel' and 'name2' appeared n movie m (c) List titles and budget of movies where at least two Australian actors have appeared. (d) List the names of actors that have never appeared in any movie produced by studio 'MGM. (e) List the names of actors that have never made more than 1,000,000 in a movie
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