mysql 导出目标 id,以逗号隔开

select Group_concat(id SEPARATOR ',') from  points  where companyId=7 and status<6;

posted @ 2018-06-19 14:01  nanahome  阅读(835)  评论(0)    收藏  举报