标签:log rom group concat 字符 category desc left join 字符串
SELECT oam.id , GROUP_CONCAT(oacm.name) category FROM om_article_manage oam LEFT JOIN om_article_category_relation oacr ON oacr.article_id = oam.id LEFT JOIN om_article_category_manage oacm ON oacm.id = oacr.category_id GROUP BY oam.id ORDER BY oacm.name DESC
这
标签:log rom group concat 字符 category desc left join 字符串
原文地址:http://www.cnblogs.com/chn58/p/6207909.html