Per the SQL standard, `column IN (subquery)` is equivalent to
Acolumn = ALL (subquery)
Bcolumn < ALL (subquery)
Ccolumn > ANY (subquery)
Dcolumn = ANY (subquery)
Answer & Solution
Correct answer: D. column = ANY (subquery)
**IN tests set membership:** is the column's value equal to at least one of the values in the set? That is exactly = ANY.
`= ALL` would require equality to EVERY value (impossible unless the subquery is a single repeated value).
`<` and `>` ANY/ALL test ordering, not membership.
Keep practising Database Management Systems
Browse all Database Management Systems questions for GATE CSE, or explore more Computer Science topics.