Examine the structure of the EMPLOYEES and NEW_EMPLOYEES tables:
Which DELETE statement is valid?
A.
DELETE FROM employeesWHERE employee_id = (SELECT employee_id FROM
employees);
B.
DELETE * FROM employeesWHERE employee_id=(SELECT employee_id FROM
new_employees);
C.
DELETE FROM employeesWHERE employee_id IN (SELECT employee_id FROM
new_employees WHERE name = `Carrey’);
D.
DELETE * FROM employeesWHERE employee_id IN (SELECT employee_id FROM
new_employees WHERE name = `Carrey’);
why A is not correct.
I am wondering the same thing, why would we choose C for this? it’s not asking for a specific person or row to be deleted
look at = and IN