Notice: This page requires JavaScript to function properly.
Please enable JavaScript in your browser settings or update your browser.
Learn Old vs New Movies | Aggregating Data
Practice SQL with Cinema Database

Swipe to show menu

book
Old vs New Movies

Task

Swipe to start coding

Explore which movies have better average rating: created in the 20th or in the 21st century? Output rows with two columns: average rate and number of century. Two rows in total - for 20th and 21th century.

Name the columns avg and century.

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!

SectionΒ 1. ChapterΒ 2
single

single

Ask AI

expand

Ask AI

ChatGPT

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

close

Awesome!

Completion rate improved to 4.55

book
Old vs New Movies

Task

Swipe to start coding

Explore which movies have better average rating: created in the 20th or in the 21st century? Output rows with two columns: average rate and number of century. Two rows in total - for 20th and 21th century.

Name the columns avg and century.

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

Swipe to show menu

some-alt