select crawler_type_id,crawler_type_str, GROUP_CONCAT( crawler_goods_id ) crawler_goods_id from goods GROUP BY crawler_type_id,crawler_type_str

记录php学习日志
select crawler_type_id,crawler_type_str, GROUP_CONCAT( crawler_goods_id ) crawler_goods_id from goods GROUP BY crawler_type_id,crawler_type_str