一开始想到的是用 in( , , , ),但是在查询值较多时,不知道该方法性能如何,请问有更好的多值查询方法吗?
https://zhidao.baidu.com/question/279332503.html
FIND_IN_SET
exists(select 1 from awhere a.x1 = 主表.x1a.x2 = 主表.x2)实际应用中比 in快很多。 效率高