Skip to content
New issue

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

Is this an issue of syntax structure priority? #4367

Open
openai0229 opened this issue Dec 24, 2024 · 2 comments
Open

Is this an issue of syntax structure priority? #4367

openai0229 opened this issue Dec 24, 2024 · 2 comments

Comments

@openai0229
Copy link

I am using MySQL version 8.0+, so I need this syntax, so I tried the following operation
image
In this case, it seems that it can be correctly parsed as a statement.
image
But when I removed the last semicolon, it seemed incorrect and was divided into two SQL statements.
Is it because of the priority of grammar structure?

@openai0229 openai0229 changed the title Is this an issue of syntax structure priority Is this an issue of syntax structure priority? Dec 24, 2024
@openai0229
Copy link
Author

Sorry, I should have written it directly instead of selecting it in the picture.
The grammar file I am using is the second one.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants