date: 2014-10-27 11:07 如: select id from tab; 结果是 1 2 3 我需要1,2,3 解决办法: select Group_concat(id) from tab; select group_concat(id order by id asc separator ',') from tb;