THE IDEA
Understand the concept
WHERE keeps rows whose condition is true, while ORDER BY sorts the rows that remain. ASC is ascending and is the default; DESC reverses the order.
WORKED EXAMPLE

LESSON 03 ยท SQL
WHERE filters rows; ORDER BY puts matching rows in a deliberate order.
THE IDEA
WHERE keeps rows whose condition is true, while ORDER BY sorts the rows that remain. ASC is ascending and is the default; DESC reverses the order.
WORKED EXAMPLE