myql GROU_CONCAT 与FIND_IN_SET查询结果为空问题解决

有两张表,表结构如下,右边是hot_incident数据 hot_event_person_ids以字符串的形式存多个hot_person表里的id hot_person数据如下 需求: 根据hot_person表里id为2的用户与hot_incident.hot_event_person_ids对应的所有的incident_title的拼接,中间用逗号隔开 实现: SELECT hp.id id
相关文章
相关标签/搜索