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

bookThe Best Genre

Opgave

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

Var alt klart?

Hvordan kan vi forbedre det?

Tak for dine kommentarer!

Sektion 2. Kapitel 5
single

single

Spørg AI

expand

Spørg AI

ChatGPT

Spørg om hvad som helst eller prøv et af de foreslåede spørgsmål for at starte vores chat

Suggested prompts:

Opsummér dette kapitel

Explain code

Explain why doesn't solve task

close

Awesome!

Completion rate improved to 4.55

bookThe Best Genre

Stryg for at vise menuen

Opgave

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 desktopSkift til skrivebord for at øve i den virkelige verdenFortsæt der, hvor du er, med en af nedenstående muligheder
Var alt klart?

Hvordan kan vi forbedre det?

Tak for dine kommentarer!

close

Awesome!

Completion rate improved to 4.55
Sektion 2. Kapitel 5
single

single

some-alt