使用之前
select A_ID ,B_ID from CustomerInfo
使用之後
select A_ID,GROUP_CONCAT(B_ID) from CustomerInfo order by A_ID
注意:GROUP_CONCAT()一定要配合group by使用
使用之前
select A_ID ,B_ID from CustomerInfo
使用之後
select A_ID,GROUP_CONCAT(B_ID) from CustomerInfo order by A_ID
注意:GROUP_CONCAT()一定要配合group by使用