Q. If emp_id contain the following set {9, 7, 6, 4, 3, 1, 2}, what will be the output on execution of the following MySQL command?
SELECT emp_id
FROM person
ORDER BY emp_id DESC;
SELECT emp_id
FROM person
ORDER BY emp_id DESC;
β
Correct Answer: (A)
{9, 7, 6, 4, 3, 1, 2}
Explanation: This question is about how MySQL sorts data in a table. Let's break it down: