Q. What will be the output of the following MySQL command?
SELECT fname
FROM person
WHERE emp_id != 6 OR emp_id IS NULL;
SELECT fname
FROM person
WHERE emp_id != 6 OR emp_id IS NULL;
β
Correct Answer: (A)
Only those names whose emp_id is not equal to 6 or emp_id with NULL values
Explanation: This MySQL command is used to retrieve the 'fname' (first name) from the 'person' table.