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

前端 未结 0 794
迷失自我
迷失自我 2020-12-04 05:23

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 clause. If anyone k

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