Answered step by step
Verified Expert Solution
Question
1 Approved Answer
Consider the following relations for an online Cinema Booking system. The primary keys are underlined. All attributes are of type string if not indicated
Consider the following relations for an online Cinema Booking system. The primary keys are underlined. All attributes are of type string if not indicated otherwise. Theaters(1ID, name, location) Auditoriums(tlD, alD, movie title, price: integer, number of seats: integer) Book(tID, alD, cID, seat number, date) Customers(cID, name, address) A theater usually has several auditoriums. Assume that only the movies that are currently played on auditoriums of theaters are stored. 1. Find the names of customers who have watched movies at every theater in Gainesville. 2. Find the names of customers who never booked. 3. Find the names of customers who booked the movie titled 'Parasite' more than once. 4. Find the name of the theater that has the biggest (in terms of the number of seats) auditorium. 5. Find the names of customers who booked 'Parasite' and "End game'. 6. Find the names of movies that are playing at the theaters where the movie 'End game' is on (exclude 'End game' in your answer).
Step by Step Solution
★★★★★
3.27 Rating (142 Votes )
There are 3 Steps involved in it
Step: 1
1 SELECT name FROM Theaters WHERE locationGainesville 2 SELECT name FROM Custom...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