Notice: This page requires JavaScript to function properly.
Please enable JavaScript in your browser settings or update your browser.
Challenge: Decades | SQL Tasks
Data Manipulation using SQL
course content

Course Content

Data Manipulation using SQL

Data Manipulation using SQL

1. Database and Nested Queries
2. SQL Joining Tables
3. SQL Tasks

Challenge: Decades

Task

  1. Group songs into decades. Your result should record in such a format: Decade, songs.id, songs.title, songs.price. For example:

1970 5 Time 200

1970 4 Stairway to Heaven 510

1980 16 Billie Jean 1200

And so on for all the songs.

For songs from one decade, sort them, starting from the most expensive.

  1. Change your query to not include albums with the undefined decade.

Task

  1. Group songs into decades. Your result should record in such a format: Decade, songs.id, songs.title, songs.price. For example:

1970 5 Time 200

1970 4 Stairway to Heaven 510

1980 16 Billie Jean 1200

And so on for all the songs.

For songs from one decade, sort them, starting from the most expensive.

  1. Change your query to not include albums with the undefined decade.

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

Everything was clear?

Section 3. Chapter 4
toggle bottom row

Challenge: Decades

Task

  1. Group songs into decades. Your result should record in such a format: Decade, songs.id, songs.title, songs.price. For example:

1970 5 Time 200

1970 4 Stairway to Heaven 510

1980 16 Billie Jean 1200

And so on for all the songs.

For songs from one decade, sort them, starting from the most expensive.

  1. Change your query to not include albums with the undefined decade.

Task

  1. Group songs into decades. Your result should record in such a format: Decade, songs.id, songs.title, songs.price. For example:

1970 5 Time 200

1970 4 Stairway to Heaven 510

1980 16 Billie Jean 1200

And so on for all the songs.

For songs from one decade, sort them, starting from the most expensive.

  1. Change your query to not include albums with the undefined decade.

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

Everything was clear?

Section 3. Chapter 4
toggle bottom row

Challenge: Decades

Task

  1. Group songs into decades. Your result should record in such a format: Decade, songs.id, songs.title, songs.price. For example:

1970 5 Time 200

1970 4 Stairway to Heaven 510

1980 16 Billie Jean 1200

And so on for all the songs.

For songs from one decade, sort them, starting from the most expensive.

  1. Change your query to not include albums with the undefined decade.

Task

  1. Group songs into decades. Your result should record in such a format: Decade, songs.id, songs.title, songs.price. For example:

1970 5 Time 200

1970 4 Stairway to Heaven 510

1980 16 Billie Jean 1200

And so on for all the songs.

For songs from one decade, sort them, starting from the most expensive.

  1. Change your query to not include albums with the undefined decade.

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

Everything was clear?

Task

  1. Group songs into decades. Your result should record in such a format: Decade, songs.id, songs.title, songs.price. For example:

1970 5 Time 200

1970 4 Stairway to Heaven 510

1980 16 Billie Jean 1200

And so on for all the songs.

For songs from one decade, sort them, starting from the most expensive.

  1. Change your query to not include albums with the undefined decade.

Switch to desktop for real-world practiceContinue from where you are using one of the options below
Section 3. Chapter 4
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