Notice: This page requires JavaScript to function properly.
Please enable JavaScript in your browser settings or update your browser.
Sales Based on Rating | Ordering Data
Practice SQL with Cinema Database
course content

Course Content

Practice SQL with Cinema Database

Practice SQL with Cinema Database

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

Sales Based on Rating

Task

Return three records under income column in the following order:

  • average income of movies with rating from 8.0 to 10.0
  • average income of movies with rating from 5.0 to 7.9
  • average income of movies with rating from 0.0 to 4.9

Task

Return three records under income column in the following order:

  • average income of movies with rating from 8.0 to 10.0
  • average income of movies with rating from 5.0 to 7.9
  • average income of movies with rating from 0.0 to 4.9

Switch to desktop for real-world practiceContinue from where you are using one of the options below

Everything was clear?

Section 2. Chapter 7
toggle bottom row

Sales Based on Rating

Task

Return three records under income column in the following order:

  • average income of movies with rating from 8.0 to 10.0
  • average income of movies with rating from 5.0 to 7.9
  • average income of movies with rating from 0.0 to 4.9

Task

Return three records under income column in the following order:

  • average income of movies with rating from 8.0 to 10.0
  • average income of movies with rating from 5.0 to 7.9
  • average income of movies with rating from 0.0 to 4.9

Switch to desktop for real-world practiceContinue from where you are using one of the options below

Everything was clear?

Section 2. Chapter 7
toggle bottom row

Sales Based on Rating

Task

Return three records under income column in the following order:

  • average income of movies with rating from 8.0 to 10.0
  • average income of movies with rating from 5.0 to 7.9
  • average income of movies with rating from 0.0 to 4.9

Task

Return three records under income column in the following order:

  • average income of movies with rating from 8.0 to 10.0
  • average income of movies with rating from 5.0 to 7.9
  • average income of movies with rating from 0.0 to 4.9

Switch to desktop for real-world practiceContinue from where you are using one of the options below

Everything was clear?

Task

Return three records under income column in the following order:

  • average income of movies with rating from 8.0 to 10.0
  • average income of movies with rating from 5.0 to 7.9
  • average income of movies with rating from 0.0 to 4.9

Switch to desktop for real-world practiceContinue from where you are using one of the options below
Section 2. Chapter 7
Switch to desktop for real-world practiceContinue from where you are using one of the options below
We're sorry to hear that something went wrong. What happened?
some-alt