What is the most efficient way to select multiple rows by a set of 100,000 IDs in sql

后端 未结 0 524
被撕碎了的回忆
被撕碎了的回忆 2020-12-04 02:21

I know that you can use "SELECT * FROM table WHERE id IN (ids)"). In my case, I have 100,000 of ids. I\'m wondering if MySQL has a limit for IN<

相关标签:
回答
  • 消灭零回复
提交回复
热议问题