select * from table_name where id in (id1,id2,id3...); in后括号中的参数个数有限制,Oracle 9i 中个数不能超过256,Oracle 10g个数不能超过1000. 第一种: 第二种: