Q. Is there any error in the following MySQL command?
SELECT emp_id, title, start_date, fname, fed_id
FROM person
ORDER BY 2, 5;
SELECT emp_id, title, start_date, fname, fed_id
FROM person
ORDER BY 2, 5;
β
Correct Answer: (B)
No
Explanation: This question tests your understanding of how to use the ORDER BY clause in MySQL to sort data. The ORDER BY clause allows you to specify the columns you want to sort by and the order (ascending or descending).