Question: QUESTION 4 Consider the following relational database: CUSTOMER (CustID, CustFName, CustLName, CustAdd, City, State, Country, PhoneNum) MOVIESHOWTIME (MovieShowTimeID, Time, Date, MovieID, HallID, CustID) MOVIE

QUESTION 4 Consider the following relational database: CUSTOMER (CustID, CustFName, CustLName, CustAdd, 

QUESTION 4 Consider the following relational database: CUSTOMER (CustID, CustFName, CustLName, CustAdd, City, State, Country, PhoneNum) MOVIESHOWTIME (MovieShowTimeID, Time, Date, MovieID, HallID, CustID) MOVIE (MovieID, MovieName, Length) HALL (HallID, HallName) SEAT (SeatNum, SeatDetails, HallID) a) Add new attribute for table MOVIE named "Genre". (4 marks) b) Display all movie name which showing on 23/06/2022. View the results by movie name in descending order. c) Total number of customers for each hall. d) Display movie genre with highest sales. (4 marks) (4 marks) (4 marks) e) Total number of customers who are watching "Mat Kilau". (4 marks)

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock

a To add a new attribute named Genre to the table MOVIE you would alter the table structure and add ... View full answer

blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!