Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

Sakila is a movie rental company. Please go through the E - R diagram and the structure of the database to understand the database. Answer

Sakila is a movie rental company. Please go through the E-R diagram and the structure
of the database to understand the database.
Answer these questions with a SQL query (2 Points Each):
1. What is the most watched film (number of rentals) by each category?
2. What is the total rental amount per category?
3. For each category, list the customer who is the second most renter.
4. What is the second most popular movie title?
5. What are the most popular categories?
6. What are the top 10 most rented movies by category?
7. What are the average rental days for each movie?
8. What are the top 10 most rented movies by day of the week?
9. What is the total rental revenue (total amount of all rentals) by day of the week?
10. What are the most popular movies for each reward tier?
11. What are the average rental days by reward tier?
12. What are the most popular days to rent movies?
13. What are the most popular days to rent movies by reward tier?

Step by Step Solution

There are 3 Steps involved in it

Step: 1

blur-text-image

Get Instant Access to Expert-Tailored Solutions

See step-by-step solutions with expert insights and AI powered tools for academic success

Step: 2

blur-text-image

Step: 3

blur-text-image

Ace Your Homework with AI

Get the answers you need in no time with our AI-driven, step-by-step assistance

Get Started

Students also viewed these Databases questions

Question

Motivate people by responding to their self-interests.

Answered: 1 week ago

Question

b. Explain how you initially felt about the communication.

Answered: 1 week ago

Question

3. Identify the methods used within each of the three approaches.

Answered: 1 week ago

Question

a. When did your ancestors come to the United States?

Answered: 1 week ago