Subqueries

IQ currently provides somewhat different support for subqueries from Adaptive Server Enterprise and Adaptive Server Anywhere.

UNION in subqueries is supported as follows:

Adaptive Server Anywhere supports subqueries in many additional places that a scalar value may appear in the grammar. Adaptive Server Enterprise and IQ follow the ANSI standard in where subqueries may be specified.