Google News
logo
MySQL - Quiz(MCQ)
With MySQL, how can you return all the records from a table named "Persons" sorted descending by "FirstName"?
A)
SELECT * FROM Persons ORDER BY FirstName DESC
B)
SELECT * FROM Persons SORT 'FirstName' DESC
C)
SELECT * FROM Persons ORDER FirstName DESC
D)
SELECT * FROM Persons SORT BY 'FirstName' DESC

Correct Answer :   SELECT * FROM Persons ORDER BY FirstName DESC

Advertisement