CONCAT_WS
使用函数CONCAT_WS()。...mysql> select concat_ws(',','x','y','z');
+----------------------------+
| concat_ws(',','x','y','z')...mysql> select concat(',','x','y','z');
+-------------------------+
| concat(',','x','y','z') |
+-----...6 |
| 7 |
| 8 |
| 9 |
| 10 |
+----+
10 rows in set (0.00 sec)
答案:使用GROUP_CONCAT
mysql> select group_concat...1235 (42000): This version of MySQL doesn't yet support 'LIMIT & IN/ALL/ANY/SOME subquery'
这也是mysql的子查询语法用起来不是那么