What will be the output of the following MySQL statement?
SELECT account_id, product_id, cust_id
FROM account
WHERE product_id NOT IN (‘sav’, ‘chd’, ‘mm’);
SELECT account_id, product_id, cust_id
FROM account
WHERE product_id NOT IN (‘sav’, ‘chd’, ‘mm’);
A. Only those values are selected whose product_id does not belong to either 'sav', 'chd', 'mm'
B. Only those values are selected whose product_id does not belong to either 'sav''
C. Only those values are selected whose product_id does not belong to either 'sav', 'chd'
D. All of the mentioned
Answer: Option A
Related Questions on MySQL Miscellaneous
How is communication established with MySQL?
A. SQL
B. Network calls
C. A programming language like C++
D. APIs
Which type of database management system is MySQL?
A. Object-oriented
B. Hierarchical
C. Relational
D. Network
Join The Discussion