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

grocery CRUD SQL issues in MYSQL 8.0.31 #502

Open
jianhui99 opened this issue Dec 27, 2022 · 0 comments
Open

grocery CRUD SQL issues in MYSQL 8.0.31 #502

jianhui99 opened this issue Dec 27, 2022 · 0 comments

Comments

@jianhui99
Copy link

Error Number: 1064

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 'groups FROM admin_users LEFT JOIN admin_departments as jbf691be4 ON `jbf69' at line 1

SELECT admin_users.*, jbf691be4.outlet AS sbf691be4, (SELECT GROUP_CONCAT(DISTINCT admin_groups.name) FROM admin_groups LEFT JOIN admin_users_groups ON admin_users_groups.group_id = admin_groups.id WHERE admin_users_groups.user_id = admin_users.id GROUP BY admin_users_groups.user_id) AS groups FROM admin_users LEFT JOIN admin_departments as jbf691be4 ON jbf691be4.id = admin_users.department_id

Filename: third_party/grocery_crud/models/Grocery_crud_model.php

Line Number: 87

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

1 participant