1、

select * from user where position like '%1%'
仔细观察你会发现为10位的也被查出来了;

2、

select * from user where find_in_set(STR,strlist)
注意其中strlist只识别英文逗号

相关文章:

  • 2021-09-22
  • 2021-04-01
  • 2022-12-23
  • 2022-12-23
  • 2021-07-31
  • 2022-12-23
  • 2021-07-03
  • 2022-12-23
猜你喜欢
  • 2022-12-23
  • 2021-09-09
  • 2021-08-15
  • 2022-12-23
  • 2022-03-02
  • 2021-06-05
相关资源
相似解决方案