-
What will be the output of the following query?
SELECT accountid, productid, custid
FROM account
WHERE productid NOT IN (‘sav’, ‘chd’, ‘mm’);
-
- Only those values are selected whose productid does not belong to either ‘sav’’
- Only those values are selected whose productid does not belong to either ‘sav’, ‘chd’
- Only those values are selected whose productid does not belong to either ‘sav’, ‘chd’, ‘mm’
- All of above
- None of these
Correct Option: C
“NOT IN” worked opposite of “IN” operator.