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
Most databases allow parenthese around set operations to control evaluation order:
SELECT1
INTERSECT
(
SELECT1
EXCEPT
SELECT1
)
In SQLite, the above is a syntax error. As a result, we currently omit parentheses around set operations altogether (code), leading to data corruption in some cases.
However, SQLite does support simply wrapping the nested set operation in a SELECT: