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

Oppgave

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

Alt var klart?

Hvordan kan vi forbedre det?

Takk for tilbakemeldingene dine!

Seksjon 3. Kapittel 2
single

single

Spør AI

expand

Spør AI

ChatGPT

Spør om hva du vil, eller prøv ett av de foreslåtte spørsmålene for å starte chatten vår

Suggested prompts:

Oppsummer dette kapittelet

Explain code

Explain why doesn't solve task

close

Awesome!

Completion rate improved to 4.55

bookCinema for Margot

Sveip for å vise menyen

Oppgave

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 desktopBytt til skrivebordet for virkelighetspraksisFortsett der du er med et av alternativene nedenfor
Alt var klart?

Hvordan kan vi forbedre det?

Takk for tilbakemeldingene dine!

close

Awesome!

Completion rate improved to 4.55
Seksjon 3. Kapittel 2
single

single

some-alt