A

Admin • 833K Points
Coach

Q. What will be the order of sorting in the following MySQL statement?
SELECT emp_id, emp_name
FROM person
ORDER BY emp_id, emp_name;

  • (A) Sorting {emp_id, emp_name}
  • (B) TEMPO
  • (C) Sorting (emp_id} but not emp_name
  • (D) None of the mentioned
  • Correct Answer - Option(A)
  • Views: 26
  • Filed under category MySQL
  • Hashtags:

Explanation by: Admin

This question asks about how data will be sorted in a MySQL query. The ORDER BY clause tells MySQL to sort the results. Let's break it down:

You must be Logged in to update hint/solution

Discusssion

Login to discuss.

Be the first to start discuss.