hi all,
what does the ANY mean in this query, i have had a look online but from what i understand is it a work around if a subquery returns more than one record. not to sure
select u from t1 where u = ANY(select x from t2)
thanks
D
hi all,
what does the ANY mean in this query, i have had a look online but from what i understand is it a work around if a subquery returns more than one record. not to sure
select u from t1 where u = ANY(select x from t2)
thanks
D
you’re right, it is syntax used to handle multiple rows from the subquery
an equivalent is
SELECT u FROM t1 WHERE u [COLOR="Blue"]IN[/COLOR] (SELECT x FROM t2)