Notice: This page requires JavaScript to function properly.
Please enable JavaScript in your browser settings or update your browser.
Learn Challenge Order By | Filtering Statements
SQL Tutorial for Beginners
Section 3. Chapter 6
single

single

Challenge Order By

Swipe to show menu

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
Task

Swipe to start coding

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

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 3. Chapter 6
single

single

Ask AI

expand

Ask AI

ChatGPT

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

some-alt