php - Join table rows by GROUP_CONCAT , failed! It's not working? -
I do not know why this is not working.
I have a table with "resume" id from "SELECT id GROUP_CONCAT (SKILLS) SEPARATOR ','); It starts again, then two field IDs and skills it returns an error like this:
Error: There is an error in your SQL syntax; On line '1' / Code> Resume_Check your manual for the right syntax to use near 'GROUP_CONCAT (skill SEPARATOR', '') from the school group.
between the id and the group you miss the coma (,).
From the correct id
SELECT id, GROUP_CONCAT (skill SEPARATOR ',')
Comments
Post a Comment