mysql 查詢逗號分隔的多個id

SELECT  e.id,title,GROUP_CONCAT(`name`) AS `name`  it

FROM igh_education eio

LEFT JOIN igh_project p on FIND_IN_SET(project_num, e.`section`) 

GROUP BY e.id 

ORDER BY e.id ASC

相關文章
相關標籤/搜索