日期:2014-05-17  浏览次数:20631 次

简单的难题!?!?欢迎踊跃交流
有A表(seq,name,sex)共有8万条数据,seq是序列
情况一:没有索引
select * from A where seq=1;
select * from A where seq=1000;
select * from A where seq=10000;
以上3条语句速度哪个最快?

情况二:有索引
select * from A where seq=1;
select * from A where seq=1000;
select * from A where seq=10000;
以上3条语句速度哪个最快?


------解决方案--------------------
这个应该速度都是一样的吧。