Question: Question 5 20 pts Background: The database schema below is for movie theaters located in Orange County. The system keeps track of movie showings,

Question 5 20 pts Background: The database schema below is for movie theaters located in Orange County. The system keeps track of movie showings, sales, customer reward accounts, and theater owner details. Owners may own more than one theater in various locations. Tickets sales consists of the number of tickets sold and the $18 price per ticket. Use the following database schema to write your SQL statement. MOVIES(MovieID, Title, Rating, Description) THEATERS(TheaterID, TheaterName, Address, ZipCode, OwnerID) OWNERS(OwnerID, FName, LName, Address, ZipCode, Phone, Email) TICKET_SALES(TSID, MSID, RewardID, Sales Date, Quantity) MOVIE_SHOWINGS(MSID, MovieID, TheaterID, ShowingDate, Time) CUSTOMER_REWARDS(RewardID, CustFName, CustLName, Address, ZipCode, Phone, Email) ZIPCODE(ZipCode, City, State) REVIEWS (ReviewID, MovieID, Review Rating, Comments) Write an SQL statement that will: List the movie titles and its ratings for movies being listed and showing in Huntington Beach for Tuesday, May 17, 2022, but only for the StarPlex theaters with more than 350 tickets sold.
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
