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

Bug: mysql8查询中如果有临时表,会报错 #1652

Open
hxrenyan opened this issue Feb 13, 2025 · 0 comments
Open

Bug: mysql8查询中如果有临时表,会报错 #1652

hxrenyan opened this issue Feb 13, 2025 · 0 comments
Labels
bug Something isn't working

Comments

@hxrenyan
Copy link

Chat2DB Version

chat2DB Pro 2.14.5

Describe the bug

with health_info as (
select
*
from table_name
)
select
table_name.*
from table_name
INNER join health_info on table_name.id = health_info.id

失败: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near '' at line 13

必须加上";" 执行才不会报错

@hxrenyan hxrenyan added the bug Something isn't working label Feb 13, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant