Test Index
Structured Query Language (SQL)
© examsnet.com
Question : 11 of 58
Marks:
+1,
-0
In MySQL, which of the following operator is used with
WHERE clause and returns a True if the value belongs to the set of specified values ?[CBSE 2026 Compartment]
Solution:
Concept:The
IN operator tests membership in a list of values.Explanation:SELECT * FROM EMP WHERE City IN ('Delhi', 'Mumbai');This returns rows whose City is any one of the listed values.DISTINCT removes duplicate rows, LIKE matches patterns with % and _, and NOT negates a condition.Answer:Option B (IN)© examsnet.com
Go to Question: