A

Admin • 833K Points
Coach

Q. What is the significance of "ORDER BY" in the following MySQL statement?
SELECT emp_id, fname, lname
FROM person
ORDER BY emp_id;

  • (A) Data of emp_id will be sorted
  • (B) Data of emp_id will be sorted in descending order
  • (C) Data of emp_id will be sorted in ascending order
  • (D) All of the mentioned
  • Correct Answer - Option(A)
  • Views: 27
  • Filed under category MySQL
  • Hashtags:

Explanation by: Admin

The "ORDER BY" clause in a MySQL statement is like telling the database to arrange the results in a specific order.

You must be Logged in to update hint/solution

Discusssion

Login to discuss.

Be the first to start discuss.