Home » MYSQL » MySQL ORDER BY » Question
  1. What is the significance of “ORDER BY emp_id DESC” in the given query?
    SELECT id, First_name, Last_name
    FROM Student
    ORDER BY id DESC;
    1. Data of id will be sorted in ascending order
    2. Data of id will be sorted in either ascending or descending order
    3. Data of id will be sorted in descending order
    4. All of above
    5. None of these
Correct Option: C

Keyword “DESC” will sort the data in descending order.



Your comments will be displayed only after manual approval.