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

Contenu du cours

Practice SQL with Cinema Database

Practice SQL with Cinema Database

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

book
Cinema for Margot

Tâche

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.

Solution

Switch to desktopPassez à un bureau pour une pratique réelleContinuez d'où vous êtes en utilisant l'une des options ci-dessous
Tout était clair ?

Comment pouvons-nous l'améliorer ?

Merci pour vos commentaires !

Section 3. Chapitre 2
toggle bottom row

book
Cinema for Margot

Tâche

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.

Solution

Switch to desktopPassez à un bureau pour une pratique réelleContinuez d'où vous êtes en utilisant l'une des options ci-dessous
Tout était clair ?

Comment pouvons-nous l'améliorer ?

Merci pour vos commentaires !

Section 3. Chapitre 2
Switch to desktopPassez à un bureau pour une pratique réelleContinuez d'où vous êtes en utilisant l'une des options ci-dessous
We're sorry to hear that something went wrong. What happened?
some-alt