Answered step by step
Verified Expert Solution
Question
1 Approved Answer
8. [4 points] Write a query that lists the theater name, phone and the number of movies played by the theaters in The U District
8. [4 points] Write a query that lists the theater name, phone and the number of movies played by the theaters in The U District district, where each theater plays less than 3 movies. The theatres must be sorted in descending order by the number of movies shown by each theater. Each of them should play at least 1 movie.
9. [3 points] Write a query that lists the theater name, phone, address, and district name of theaters playing Meet the Parents or any NR-rated movie.
10. [4 points] Write a query that lists all theaters name, movie name, movie rating, movie length, and phones numbers sorted in ascending order in DOWNTOWN district that play the longest PG-13-rated movie or the shortest R-rated-movie.
11. [3 points] Write a query that lists the average length of movies played in Boeing Imax Theater.
12. [3 points] Write a query that lists the district names that the theater "General Cinema Pacific Place 11" belongs to. Note that a theater may belong to multiple districts.
13. [5 points] : Write a query that lists the name(s) of the theater(s) that belong(s) to at least two districts and play(s) any "R"-Rated Movie.
Step by Step Solution
There are 3 Steps involved in it
Step: 1
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