Notice: This page requires JavaScript to function properly.
Please enable JavaScript in your browser settings or update your browser.
Most Popular Genres | Ordering Data
Practice SQL with Cinema Database
course content

Course Content

Practice SQL with Cinema Database

Practice SQL with Cinema Database

1. Aggregating Data
2. Ordering Data
3. Join Data

Most Popular Genres

Task

The manager of Ocean cinema needs analytics: what genres are the most popular in his cinema? Rank it based on total sales for each genre.

Print genre and sales columns. sales contains the total sales in Ocean cinema for each genre. Reorder the records starting with the most popular genre.

Task

The manager of Ocean cinema needs analytics: what genres are the most popular in his cinema? Rank it based on total sales for each genre.

Print genre and sales columns. sales contains the total sales in Ocean cinema for each genre. Reorder the records starting with the most popular genre.

Switch to desktop for real-world practiceContinue from where you are using one of the options below

Everything was clear?

Section 2. Chapter 3
toggle bottom row

Most Popular Genres

Task

The manager of Ocean cinema needs analytics: what genres are the most popular in his cinema? Rank it based on total sales for each genre.

Print genre and sales columns. sales contains the total sales in Ocean cinema for each genre. Reorder the records starting with the most popular genre.

Task

The manager of Ocean cinema needs analytics: what genres are the most popular in his cinema? Rank it based on total sales for each genre.

Print genre and sales columns. sales contains the total sales in Ocean cinema for each genre. Reorder the records starting with the most popular genre.

Switch to desktop for real-world practiceContinue from where you are using one of the options below

Everything was clear?

Section 2. Chapter 3
toggle bottom row

Most Popular Genres

Task

The manager of Ocean cinema needs analytics: what genres are the most popular in his cinema? Rank it based on total sales for each genre.

Print genre and sales columns. sales contains the total sales in Ocean cinema for each genre. Reorder the records starting with the most popular genre.

Task

The manager of Ocean cinema needs analytics: what genres are the most popular in his cinema? Rank it based on total sales for each genre.

Print genre and sales columns. sales contains the total sales in Ocean cinema for each genre. Reorder the records starting with the most popular genre.

Switch to desktop for real-world practiceContinue from where you are using one of the options below

Everything was clear?

Task

The manager of Ocean cinema needs analytics: what genres are the most popular in his cinema? Rank it based on total sales for each genre.

Print genre and sales columns. sales contains the total sales in Ocean cinema for each genre. Reorder the records starting with the most popular genre.

Switch to desktop for real-world practiceContinue from where you are using one of the options below
Section 2. Chapter 3
Switch to desktop for real-world practiceContinue from where you are using one of the options below
We're sorry to hear that something went wrong. What happened?
some-alt