Home » MYSQL » NULL Values » Question
  1. What will be the output of the following query?
    SELECT First_name
    FROM Employee
    WHERE emp_id != 6 OR emp_id IS NULL;
    1. Only those names whose emp_id is not equal to 6
    2. Only those names whose emp_id is equal to 6
    3. Only those names whose emp_id is not equal to 6 or emp_id with NULL values
    4. All of above
    5. None of these
Correct Option: C

Only those names whose emp_id is not equal to 6 or emp_id with NULL values



Your comments will be displayed only after manual approval.