मराठी

Which SQL command is used to sort rows in either ascending or descending order of values in a specific column?

Advertisements

प्रश्न

Which SQL command is used to sort rows in either ascending or descending order of values in a specific column?

पर्याय

  • ORDER BY

  • SORT BY

  • GROUP BY

  • SORT ON

MCQ
Advertisements

उत्तर

ORDER BY

Explanation:

The ORDER BY command in SQL is used to sort rows of a result set in ascending (ASC) or descending (DESC) order based on the values of one or more columns. By default, sorting is done in ascending order unless specified otherwise.

shaalaa.com
  या प्रश्नात किंवा उत्तरात काही त्रुटी आहे का?
2025-2026 (March) Board Sample Paper
Advertisements
Share
Notifications



      Forgot password?
Use app×