Notice: This page requires JavaScript to function properly.
Please enable JavaScript in your browser settings or update your browser.
Challenge Order By | Filtering Statements
SQL Tutorial for Beginners
course content

Course Content

SQL Tutorial for Beginners

SQL Tutorial for Beginners

1. Database & Introduction to Syntax
2. SQL Aggregate Functions
3. Filtering Statements

Challenge Order By

Remember how to order the records by multiple columns. Let's say, you want to order all records by singer's name first and then by song's title:

12
SELECT * FROM songs ORDER BY singer, title
copy

Task

Select records with AC/DC songs, and order it by title from A to Z, and then by album from Z to A.

Task

Select records with AC/DC songs, and order it by title from A to Z, and then by album from Z to A.

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

Everything was clear?

Section 3. Chapter 6
toggle bottom row

Challenge Order By

Remember how to order the records by multiple columns. Let's say, you want to order all records by singer's name first and then by song's title:

12
SELECT * FROM songs ORDER BY singer, title
copy

Task

Select records with AC/DC songs, and order it by title from A to Z, and then by album from Z to A.

Task

Select records with AC/DC songs, and order it by title from A to Z, and then by album from Z to A.

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

Everything was clear?

Section 3. Chapter 6
toggle bottom row

Challenge Order By

Remember how to order the records by multiple columns. Let's say, you want to order all records by singer's name first and then by song's title:

12
SELECT * FROM songs ORDER BY singer, title
copy

Task

Select records with AC/DC songs, and order it by title from A to Z, and then by album from Z to A.

Task

Select records with AC/DC songs, and order it by title from A to Z, and then by album from Z to A.

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

Everything was clear?

Remember how to order the records by multiple columns. Let's say, you want to order all records by singer's name first and then by song's title:

12
SELECT * FROM songs ORDER BY singer, title
copy

Task

Select records with AC/DC songs, and order it by title from A to Z, and then by album from Z to A.

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