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

Keyword “ASC” will sort the data in ascending order.



Your comments will be displayed only after manual approval.