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
Example query:
CREATE TABLE test WITH ab AS ( SELECT 1 as a, 2 as b ) SELECT * from ab
Our response:
Error parsing SQL: syntax error at position 23 near 'WITH' CREATE TABLE test WITH ab AS ( ^
The MySQL documentation says this is explicitly allowed (https://dev.mysql.com/doc/refman/8.0/en/with.html) and it works in MySql.
The text was updated successfully, but these errors were encountered:
Workaround:
CREATE TABLE test (a int, b int); INSERT INTO test WITH ab AS ( SELECT 1 as a, 2 as b ) SELECT * from ab;
So it looks like we're able to parse WITH expressions on DML commands, we just don't also apply that to CREATE.
Sorry, something went wrong.
No branches or pull requests
Example query:
Our response:
The MySQL documentation says this is explicitly allowed (https://dev.mysql.com/doc/refman/8.0/en/with.html) and it works in MySql.
The text was updated successfully, but these errors were encountered: