Q. With SQL, how can you return all the records from a table named “Persons” sorted descending by “FirstName”?

  • (A) SELECT * FROM Persons SORT BY ‘FirstName’ DESC
  • (B) SELECT * FROM Persons ORDER FirstName DESC
  • (C) SELECT * FROM Persons SORT ‘FirstName’ DESC
  • (D) SELECT * FROM Persons ORDER BY FirstName DESC
πŸ’¬ Discuss
βœ… Correct Answer: (D) SELECT * FROM Persons ORDER BY FirstName DESC

You must be Logged in to update hint/solution

πŸ’¬ Discussion

πŸ“Š Question Analytics

πŸ‘οΈ
919
Total Visits
πŸ“½οΈ
3 y ago
Published
πŸŽ–οΈ
Mr. Dubey
Publisher
πŸ“ˆ
81%
Success Rate