SQL - Structured Query Language(Programming) Flashcards

1
Q

What does the ORDER BY keyword do?

A

Allows a query to sort data by acsending or descending order :

For ascending order - ORDER BY variable ASC
For descending order - ORDER BY variable DESC

How well did you know this?
1
Not at all
2
3
4
5
Perfectly