A

Admin • 833K Points
Coach

Q. What will be the output of the following MySQL command?
SELECT fname
FROM person
WHERE emp_id != 6 OR emp_id IS NULL;

  • (A) Only those names whose emp_id is not equal to 6 or emp_id with NULL values
  • (B) read_buffer_size
  • (C) Only those names whose emp_id is equal to 6
  • (D) None of the mentioned
  • Correct Answer - Option(A)
  • Views: 18
  • Filed under category MySQL
  • Hashtags:

Explanation by: Admin

This MySQL command is used to retrieve the 'fname' (first name) from the 'person' table.

You must be Logged in to update hint/solution

Discusssion

Login to discuss.

Be the first to start discuss.