我不知道为什么它不起作用.
"SELECT id GROUP_CONCAT(skill SEPARATOR ', ') FROM resume_skills GROUP BY id";
Run Code Online (Sandbox Code Playgroud)
我有一个表resume_skills,然后有两个字段id和技能.它返回一个像这样的错误:
ERROR: 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 'GROUP_CONCAT(skill SEPARATOR ', ') FROM resume_skills GROUP BY id' at line 1
Run Code Online (Sandbox Code Playgroud)
我还没搞清楚.救命?