标签:
默认查询:
SELECT floor,place_code FROM ticket;
合并列:
SELECT concat(floor,‘,‘,place_code) floor FROM ticket;
合并成一条:
SELECT group_concat(floor) floor FROM ticket;
MySQL合并列,集合中某个字段合并成一条
原文地址:http://my.oschina.net/jgy/blog/520039