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

Conteúdo do Curso

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

Tarefa

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

Tarefa

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

Mude para o desktop para praticar no mundo realContinue de onde você está usando uma das opções abaixo

Tudo estava claro?

Seção 3. Capítulo 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

Tarefa

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

Tarefa

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

Mude para o desktop para praticar no mundo realContinue de onde você está usando uma das opções abaixo

Tudo estava claro?

Seção 3. Capítulo 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

Tarefa

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

Tarefa

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

Mude para o desktop para praticar no mundo realContinue de onde você está usando uma das opções abaixo

Tudo estava claro?

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

Tarefa

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

Mude para o desktop para praticar no mundo realContinue de onde você está usando uma das opções abaixo
Seção 3. Capítulo 6
Mude para o desktop para praticar no mundo realContinue de onde você está usando uma das opções abaixo
We're sorry to hear that something went wrong. What happened?
some-alt