Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

Given the following database that stores Hollywood movie information Movies (title, year, length, genre, studioName, ProducerName) Stars In (movieTitle, starName, pay) MovieStar (name, address, gender,

image text in transcribed

Given the following database that stores Hollywood movie information Movies (title, year, length, genre, studioName, ProducerName) Stars In (movieTitle, starName, pay) MovieStar (name, address, gender, birthdate) MovieExecutive (name, address, certificate_num, networth) where the underlined attributes are the primary keys. The following foreign keys also exist: Starsn.starName --> MovieStar.name StarsIn.movie Title --> Movies.title Movies.ProducerName --> Movie Executive.name Write the following queries in SQL 1. Print the names and addresses of female movie stars who were born before 08/15/1945; 2. Print the title and year of movie(s) in which there is a movie star with a pay over 40 million dollars; 3. Print the names of actors who starred in both an MGM (studio name) movie and a movie filmed in 1990

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

Students also viewed these Databases questions