Notice: This page requires JavaScript to function properly.
Please enable JavaScript in your browser settings or update your browser.
The Best Genre | 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

The Best Genre

Task

You have to return two records:

  • first one contains the most popular genre according to the sales
  • second one contains the best genre according to the rating

To evaluate these metrics, use total sales and average rating respectively. Name the column genre.

Task

You have to return two records:

  • first one contains the most popular genre according to the sales
  • second one contains the best genre according to the rating

To evaluate these metrics, use total sales and average rating respectively. Name the column genre.

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

Everything was clear?

Section 2. Chapter 5
toggle bottom row

The Best Genre

Task

You have to return two records:

  • first one contains the most popular genre according to the sales
  • second one contains the best genre according to the rating

To evaluate these metrics, use total sales and average rating respectively. Name the column genre.

Task

You have to return two records:

  • first one contains the most popular genre according to the sales
  • second one contains the best genre according to the rating

To evaluate these metrics, use total sales and average rating respectively. Name the column genre.

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

Everything was clear?

Section 2. Chapter 5
toggle bottom row

The Best Genre

Task

You have to return two records:

  • first one contains the most popular genre according to the sales
  • second one contains the best genre according to the rating

To evaluate these metrics, use total sales and average rating respectively. Name the column genre.

Task

You have to return two records:

  • first one contains the most popular genre according to the sales
  • second one contains the best genre according to the rating

To evaluate these metrics, use total sales and average rating respectively. Name the column genre.

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

Everything was clear?

Task

You have to return two records:

  • first one contains the most popular genre according to the sales
  • second one contains the best genre according to the rating

To evaluate these metrics, use total sales and average rating respectively. Name the column genre.

Switch to desktop for real-world practiceContinue from where you are using one of the options below
Section 2. Chapter 5
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