FireEdgeX
0

LESSON 03 ยท SQL

Filter and sort results

WHERE filters rows; ORDER BY puts matching rows in a deliberate order.

7 min readIn progress

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

See it in context

Example