A

Admin • 833K Points
Coach

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

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

Explanation by: Admin

This MySQL command selects the employee ID (emp_id), first name (fname), and last name (lname) from the table called person.

You must be Logged in to update hint/solution

Discusssion

Login to discuss.

Be the first to start discuss.