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