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

bookSales Based on Rating

Task

Swipe to start coding

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

Solution

Everything was clear?

How can we improve it?

Thanks for your feedback!

SectionΒ 2. ChapterΒ 7
single

single

Ask AI

expand

Ask AI

ChatGPT

Ask anything or try one of the suggested questions to begin our chat

Suggested prompts:

Summarize this chapter

Explain the code in file

Explain why file doesn't solve the task

close

Awesome!

Completion rate improved to 4.55

bookSales Based on Rating

Swipe to show menu

Task

Swipe to start coding

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

Solution

Switch to desktopSwitch to desktop for real-world practiceContinue from where you are using one of the options below
Everything was clear?

How can we improve it?

Thanks for your feedback!

close

Awesome!

Completion rate improved to 4.55
SectionΒ 2. ChapterΒ 7
single

single

some-alt