mysql 语句在on 条件除了等号可以用like

select * from a join b
on a LIKE CONCAT('%',b,'%')

原文地址:https://www.cnblogs.com/rexfieBlogs/p/11390567.html