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
这