📊 SQL Server
Q. With SQL, 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
💬 Discuss
✅ Correct Answer: (A) SELECT * FROM Persons ORDER BY FirstName DESC

You must be Logged in to update hint/solution

💬 Discussion


📊 Question Analytics

👁️
188
Total Visits
📽️
4 y ago
Published
🎖️
Ram Sharma
Publisher
📈
94%
Success Rate