You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
SELECT1FROM t WHEREt.idIN ((SELECT id FROM t) UNION (SELECT id FROM t))
Currently, this fails with:
ParserError("Expected: ), found: UNION at Line: 1, Column: 51")
I checked this works on PostgreSQL shell:
postgres=# create table t(id int);
CREATE TABLE
postgres=# SELECT 1 FROM t WHERE t.id IN ((SELECT id FROM t) UNION (SELECT id FROM t));
?column?
----------
(0 rows)
And it fails to parse on SQLite:
sqlite> create table t(id int);
sqlite> SELECT 1 FROM t WHERE t.id IN ((SELECT id FROM t) UNION (SELECT id FROM t));
Parse error: near "UNION": syntax error
SELECT 1 FROM t WHERE t.id IN ((SELECT id FROM t) UNION (SELECT id FROM t));
error here ---^
The text was updated successfully, but these errors were encountered:
Minimal example:
Currently, this fails with:
I checked this works on PostgreSQL shell:
And it fails to parse on SQLite:
The text was updated successfully, but these errors were encountered: