Зміст курсу
SQL Tutorial for Beginners
SQL Tutorial for Beginners
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:
SELECT * FROM songs ORDER BY singer, title
Завдання
Select records with AC/DC songs, and order it by title
from A to Z, and then by album
from Z to A.
Завдання
Select records with AC/DC songs, and order it by title
from A to Z, and then by album
from Z to A.
Все було зрозуміло?
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:
SELECT * FROM songs ORDER BY singer, title
Завдання
Select records with AC/DC songs, and order it by title
from A to Z, and then by album
from Z to A.
Завдання
Select records with AC/DC songs, and order it by title
from A to Z, and then by album
from Z to A.
Все було зрозуміло?
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:
SELECT * FROM songs ORDER BY singer, title
Завдання
Select records with AC/DC songs, and order it by title
from A to Z, and then by album
from Z to A.
Завдання
Select records with AC/DC songs, and order it by title
from A to Z, and then by album
from Z to A.
Все було зрозуміло?
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:
SELECT * FROM songs ORDER BY singer, title
Завдання
Select records with AC/DC songs, and order it by title
from A to Z, and then by album
from Z to A.