adplus-dvertising
frame-decoration

Question

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.

Only those names whose emp_id is not equal to 6

c.

Only those names whose emp_id is equal to 6

d.

None of the mentioned

Answer: (a).Only those names whose emp_id is not equal to 6 or emp_id with NULL values

Engage with the Community - Add Your Comment

Confused About the Answer? Ask for Details Here.

Know the Explanation? Add it Here.

Q. What will be the output of the following MySQL command?