-
Notifications
You must be signed in to change notification settings - Fork 52
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
subquery #41
Comments
To fix the issue we would have to make a breaking change, because the parser cannot handle "*" and columns/subselects in one query at the moment. To workaround the problem you need to replace the "*" by single columns. Maybe a different parser (e.g. node-sql-parser) might handle your query. |
Thank for your reply, I fixed this subquery。(I have taken over a project that involves this package. Recently, i need to add some feature to it)
|
can not parse some sqls. would you like help me to solve this problem
example
"SELECT *, (SELECT group_concat(inner_url) inner_url FROM t_media_info b WHERE a.id = b.msg_id GROUP BY msg_id) inner_url WHERE f_step = 1 AND business_id IN (6, 3, 4, 8, 9, 12, 14, 15, 38, 39, 5) ORDER BY create_time DESC
The text was updated successfully, but these errors were encountered: