业务需求:
我需要查超出系统别对应的处理人员有哪些
系统别表:hd_system_category
处理人员表:hd_engineer
select * from hd_engineer
where find_in_set((select id from hd_system_category WHERE sys_name = 'ERP'),description);
解释:根据系统别为erp查找出负责这些系统别的处理人员。
FIND_IN_SET(str,strlist)//字符串,字符串数组
具体用法参考:https://www.cnblogs.com/xiaoxi/p/5889486.html