English

Ravisha has stored the records of all students of her class in a MYSQL table. Suggest a suitable SQL clause that she should use to display the names of students in alphabetical order.

Advertisements
Advertisements

Question

Ravisha has stored the records of all students of her class in a MYSQL table. Suggest a suitable SQL clause that she should use to display the names of students in alphabetical order.

Options

  • SORT BY

  • ALIGN BY

  • GROUP BY

  • ORDER BY

MCQ
Advertisements

Solution

ORDER BY

Explanation:

The ORDER BY clause arranges entries in either ascending or descending order.

shaalaa.com
  Is there an error in this question or solution?
2022-2023 (March) Set 4
Share
Notifications

Englishहिंदीमराठी


      Forgot password?
Use app×