Question: Instructions: Enter your SQL statement in the textbox provided. Be sure to apply the rules and framework necessary that would give minimal errors if executed.
Instructions:
Enter your SQL statement in the textbox provided. Be sure to apply the rules and framework necessary that would give minimal errors if executed. It is important to provide a response as leaving
a blank question will be detrimental to the exam grade.
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 $ price per ticket.
Use the following database schema to write your SQL statement.
MOVIESMovielD Title, Rating, Description
THEATERSTheaterID TheaterName, Address, ZipCode, OwnerID
OWNERSOwnerID FName, LName, Address, ZipCode, Phone, Email
TICKETSALESTSID MSID, RewardID, SalesDate, Quantity
MOVIESHOWINGSMSID MovieID, TheaterID, ShowingDate, Time
CUSTOMERREWARDSRewardID CustFName, CustLName, Address, ZipCode, Phone, Email
ZIPCODEZipCode City, State
REVIEWSReviewID MovieID, ReviewRating, Comments
Write an SQL statement that will:
List the movie titles and total sales for movie showings in Fullerton on Friday, April except for those movies with a grand total of sales of more than $ Sort by movie titles.
Step by Step Solution
There are 3 Steps involved in it
1 Expert Approved Answer
Step: 1 Unlock
Question Has Been Solved by an Expert!
Get step-by-step solutions from verified subject matter experts
Step: 2 Unlock
Step: 3 Unlock
