Q. Which query would sort the results from the ‘Orders’ table by ‘OrderDate’ in descending order?

A
ORDER BY OrderDate DESC
B
SORT BY OrderDate DESCENDING
C
ORDER BY OrderDate REVERSE
D
GROUP BY OrderDate DESC
Solution:

The ORDER BY clause is used for sorting. DESC is the keyword for descending order. The default is ascending (ASC).

Entri Contact Image

Get Expert Advice for Free: Register for Your Free Consultation Now!