1、group_concat
这个可以实现 将一个字段如id查询出来 成为这样的格式:121,122,123,124,125,126
select group_concat(id) as nids from 表名 搞定
1、group_concat
这个可以实现 将一个字段如id查询出来 成为这样的格式:121,122,123,124,125,126
select group_concat(id) as nids from 表名 搞定