日期:2014-05-17 浏览次数:20564 次
--id 列上有索引的情况下 select * from table1 where id = 1 union all select * from table1 where id = 2 union all select * from table1 where id = 3 union all select * from table1 where id = 4 union all select * from table1 where id = 5 union all select * from table1 where id = 6 union all select * from table1 where id = 7 union all select * from table1 where id = 8 union all select * from table1 where id = 9
------解决方案--------------------