# E061-12: Subqueries in quantified comparison predicate

# TODO: Support Subquery on `WHERE` with `ALL/ANY/SOME`

# statement ok
# CREATE TABLE TABLE_E061_12_01_01 ( ID INT PRIMARY KEY, A INT );

# SELECT A FROM TABLE_E061_12_01_01 WHERE A < ALL ( SELECT A FROM TABLE_E061_12_01_01 )

# statement ok
# CREATE TABLE TABLE_E061_12_01_02 ( ID INT PRIMARY KEY, A INT );

# SELECT A FROM TABLE_E061_12_01_02 WHERE A < ANY ( SELECT A FROM TABLE_E061_12_01_02 )

# statement ok
# CREATE TABLE TABLE_E061_12_01_03 ( ID INT PRIMARY KEY, A INT );

# SELECT A FROM TABLE_E061_12_01_03 WHERE A < SOME ( SELECT A FROM TABLE_E061_12_01_03 )

# statement ok
# CREATE TABLE TABLE_E061_12_01_04 ( ID INT PRIMARY KEY, A INT );

# SELECT A FROM TABLE_E061_12_01_04 WHERE A <= ALL ( SELECT A FROM TABLE_E061_12_01_04 )

# statement ok
# CREATE TABLE TABLE_E061_12_01_05 ( ID INT PRIMARY KEY, A INT );

# SELECT A FROM TABLE_E061_12_01_05 WHERE A <= ANY ( SELECT A FROM TABLE_E061_12_01_05 )

# statement ok
# CREATE TABLE TABLE_E061_12_01_06 ( ID INT PRIMARY KEY, A INT );

# SELECT A FROM TABLE_E061_12_01_06 WHERE A <= SOME ( SELECT A FROM TABLE_E061_12_01_06 )

# statement ok
# CREATE TABLE TABLE_E061_12_01_07 ( ID INT PRIMARY KEY, A INT );

# SELECT A FROM TABLE_E061_12_01_07 WHERE A <> ALL ( SELECT A FROM TABLE_E061_12_01_07 )

# statement ok
# CREATE TABLE TABLE_E061_12_01_08 ( ID INT PRIMARY KEY, A INT );

# SELECT A FROM TABLE_E061_12_01_08 WHERE A <> ANY ( SELECT A FROM TABLE_E061_12_01_08 )

# statement ok
# CREATE TABLE TABLE_E061_12_01_09 ( ID INT PRIMARY KEY, A INT );

# SELECT A FROM TABLE_E061_12_01_09 WHERE A <> SOME ( SELECT A FROM TABLE_E061_12_01_09 )

# statement ok
# CREATE TABLE TABLE_E061_12_01_10 ( ID INT PRIMARY KEY, A INT );

# SELECT A FROM TABLE_E061_12_01_10 WHERE A = ALL ( SELECT A FROM TABLE_E061_12_01_10 )

# statement ok
# CREATE TABLE TABLE_E061_12_01_11 ( ID INT PRIMARY KEY, A INT );

# SELECT A FROM TABLE_E061_12_01_11 WHERE A = ANY ( SELECT A FROM TABLE_E061_12_01_11 )

# statement ok
# CREATE TABLE TABLE_E061_12_01_12 ( ID INT PRIMARY KEY, A INT );

# SELECT A FROM TABLE_E061_12_01_12 WHERE A = SOME ( SELECT A FROM TABLE_E061_12_01_12 )

# statement ok
# CREATE TABLE TABLE_E061_12_01_13 ( ID INT PRIMARY KEY, A INT );

# SELECT A FROM TABLE_E061_12_01_13 WHERE A > ALL ( SELECT A FROM TABLE_E061_12_01_13 )

# statement ok
# CREATE TABLE TABLE_E061_12_01_14 ( ID INT PRIMARY KEY, A INT );

# SELECT A FROM TABLE_E061_12_01_14 WHERE A > ANY ( SELECT A FROM TABLE_E061_12_01_14 )

# statement ok
# CREATE TABLE TABLE_E061_12_01_15 ( ID INT PRIMARY KEY, A INT );

# SELECT A FROM TABLE_E061_12_01_15 WHERE A > SOME ( SELECT A FROM TABLE_E061_12_01_15 )

# statement ok
# CREATE TABLE TABLE_E061_12_01_16 ( ID INT PRIMARY KEY, A INT );

# SELECT A FROM TABLE_E061_12_01_16 WHERE A >= ALL ( SELECT A FROM TABLE_E061_12_01_16 )

# statement ok
# CREATE TABLE TABLE_E061_12_01_17 ( ID INT PRIMARY KEY, A INT );

# SELECT A FROM TABLE_E061_12_01_17 WHERE A >= ANY ( SELECT A FROM TABLE_E061_12_01_17 )

# statement ok
# CREATE TABLE TABLE_E061_12_01_18 ( ID INT PRIMARY KEY, A INT );

# SELECT A FROM TABLE_E061_12_01_18 WHERE A >= SOME ( SELECT A FROM TABLE_E061_12_01_18 )
