[size=medium][color=blue][b]把这 2000 个值写到一个临时表中,直接 in 一个子查询 select * from t where id in (select id from temp)[/b][/color][/size]