标签:_id col div har group char cat stat code
SELECT a.id,CAST(GROUP_CONCAT(b.status) AS CHAR) status from letter_innermail a LEFT JOIN letter_imail_status b on a.id=b.innermail_id GROUP BY a.id
标签:_id col div har group char cat stat code
原文地址:http://www.cnblogs.com/songbird/p/7600776.html