create table t (c1 int, c2 int);
insert into t values (1, 2);
select c1 from t where c2 > any(select c2 - 1 from t);
Error during planning: Unsupported AnyOp: '>', only '=' is supported
D create table t (c1 int, c2 int);
D insert into t values (1, 2);
D select c1 from t where c2 > any(select c2 - 1 from t);
┌───────┐
│ c1 │
│ int32 │
├───────┤
│ 1 │
└───────┘
mysql> create table t (c1 int, c2 int);
mysql> insert into t values (1, 2);
mysql> select c1 from t where c2 > any(select c2 - 1 from t);
+------+
| c1 |
+------+
| 1 |
+------+
1 row in set (0.00 sec)
Is your feature request related to a problem or challenge?
Here is an example:
Describe the solution you'd like
Describe alternatives you've considered
No response
Additional context
No response