We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
And another one:
"SELECT * FROM "test" UNION SELECT * FROM "test2"" We have the (quite stupid) query:
WITH test AS (SELECT * FROM student), test2 AS (SELECT * FROM student) SELECT * FROM test UNION SELECT * FROM test2 ORDER BY id DESC
When we parse and deparse this query we get something very very funny:
SELECT * FROM "test" UNION SELECT * FROM "test2"
Now this is amazing. It seems, that when you deparse something with UNION, you forget everything else (WITH, ORDER BY, probably HAVING, ...)
The text was updated successfully, but these errors were encountered:
Fixed by 823155c
Sorry, something went wrong.
No branches or pull requests
And another one:
"SELECT * FROM "test" UNION SELECT * FROM "test2""
We have the (quite stupid) query:
When we parse and deparse this query we get something very very funny:
Now this is amazing. It seems, that when you deparse something with UNION, you forget everything else (WITH, ORDER BY, probably HAVING, ...)
The text was updated successfully, but these errors were encountered: