Notice: This page requires JavaScript to function properly.
Please enable JavaScript in your browser settings or update your browser.
Lära The Best Genre | Ordering Data
Practice SQL with Cinema Database
course content

Kursinnehåll

Practice SQL with Cinema Database

Practice SQL with Cinema Database

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

book
The Best Genre

Uppgift

Swipe to start coding

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.

Lösning

Switch to desktopByt till skrivbordet för praktisk övningFortsätt där du är med ett av alternativen nedan
Var allt tydligt?

Hur kan vi förbättra det?

Tack för dina kommentarer!

Avsnitt 2. Kapitel 5
toggle bottom row

book
The Best Genre

Uppgift

Swipe to start coding

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.

Lösning

Switch to desktopByt till skrivbordet för praktisk övningFortsätt där du är med ett av alternativen nedan
Var allt tydligt?

Hur kan vi förbättra det?

Tack för dina kommentarer!

Avsnitt 2. Kapitel 5
Switch to desktopByt till skrivbordet för praktisk övningFortsätt där du är med ett av alternativen nedan
Vi beklagar att något gick fel. Vad hände?
some-alt