Home » MYSQL » Mysql Setup » Question
  1. Which clause is used to sort query elements?
    1. ORDER BY
    2. ORDER
    3. GROUP BY
    4. GROUP
    5. None of these
Correct Option: A

An ‘ORDER BY’ clause specifies the sort order. The data is sorted in ascending order by default. To sort in descending order, the keyword DESC is appended to the ‘ORDER BY’ clause. ‘GROUP BY’ is used to group the query results according to a criteria.



Your comments will be displayed only after manual approval.