Answered step by step
Verified Expert Solution
Link Copied!

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:

image text in transcribed

(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

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

Creating A Database In Filemaker Pro Visual QuickProject Guide

Authors: Steven A. Schwartz

1st Edition

0321321219, 978-0321321213

Students also viewed these Databases questions