Which keyword is commonly used in SQL to specify the order in which the result set should be returned, potentially improving query performance?

  • INDEX
  • ORDER
  • RANK
  • SORT
The keyword commonly used in SQL to specify the order in which the result set should be returned is ORDER. This keyword is used in conjunction with ORDER BY clause in SQL queries to sort the result set based on one or more columns. By specifying the order, the database engine can efficiently retrieve and return the data in the requested sequence, potentially improving query performance.
Add your answer
Loading...

Leave a comment

Your email address will not be published. Required fields are marked *