SELECT i.*,
GROUP_CONCAT(n.name) name
FROM share_ht_addharmful_factors i
LEFT JOIN sys_datadict n on FIND_IN_SET(n.UNIQUE_CODE, i.accident_type)
GROUP BY i.id
查询 汉字
最新推荐文章于 2022-12-06 18:39:03 发布
SELECT i.*,
GROUP_CONCAT(n.name) name
FROM share_ht_addharmful_factors i
LEFT JOIN sys_datadict n on FIND_IN_SET(n.UNIQUE_CODE, i.accident_type)
GROUP BY i.id