select * from tbl whereitemid in () or in() in 里面最多1000个itemid ,sql语句最长65535 字节 解决方案: 1.建立临时表 2.In() or in();