SELECT userid,username, concat('【',group_concat(cardid_all ORDER BY cardid_all separator '】【'),'】') AS cardid_all FROM reports.upper_report_detail WHERE reports.upper_report_detail.rep_id ='11938' GROUP BY userid
|
||||||||||
棚号 | 姓名 | 环号 | ||||||||
000002 | 陈宇鑫 | 【0021883】 | ||||||||
000008 | 张喜录 | 【0022000】 | ||||||||
000293 | 张宝文 | 【0020063】 | ||||||||
000789 | 亿龙机电陈增奇 | 【0020989】 | ||||||||
001001 | 边锋鸽舍高峰 | 【0022224】 | ||||||||
010000 | 刘刚寄养棚刘刚 | 【0020331】【0020337】 |