查询结果拼接

SELECT GROUP_CONCAT(`name`) typeNames FROM data_configuration d WHERE ",1,2,3," like CONCAT('%,',d.id,',%')

 

posted @ 2018-08-07 13:43  1156740846  阅读(161)  评论(0编辑  收藏  举报