Practice free →
HomeGATE CSEcomputerscienceDatabase Management Systems › Per the SQL standard, `column IN (subquery)` is …

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.
Solve this in the app — GATE CSE practice & 24k+ MCQs →
Related questions