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

bookCinema for Margot

Opgave

Swipe to start coding

Margot can't decide which cinema she should visit today. There are three criteria for the choice (in order of importance):

  • number of different movies in the cinema
  • average rating of the movies in the cinema
  • number of different genres in the cinema

Help Margot to make a choice: create a rating of cinemas based on these criteria. Print the cinema label as cinema and then 3 columns of criteria's values: c1, c2, and c3. Order rows by these criteria in order of importance.

Løsning

Var alt klart?

Hvordan kan vi forbedre det?

Tak for dine kommentarer!

Sektion 3. Kapitel 2
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

bookCinema for Margot

Stryg for at vise menuen

Opgave

Swipe to start coding

Margot can't decide which cinema she should visit today. There are three criteria for the choice (in order of importance):

  • number of different movies in the cinema
  • average rating of the movies in the cinema
  • number of different genres in the cinema

Help Margot to make a choice: create a rating of cinemas based on these criteria. Print the cinema label as cinema and then 3 columns of criteria's values: c1, c2, and c3. Order rows by these criteria in order of importance.

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 3. Kapitel 2
single

single

some-alt