Concept Flow - ALL, ANY, SOME with subqueries
Start Query
Execute Subquery
Get List of Values
Compare Outer Value with List
ALL: Check if condition true for every value
ANY/SOME: Check if condition true for at least one value
Return Rows Matching Condition
End Query
The query runs a subquery to get a list of values, then compares each outer row's value against all or any of those values, returning rows that meet the condition.