#2
mywisdom882016-12-07 09:49
|
比如:FD3字段 是个bit字段(或分类字段,可以筛选掉大量条目的那种),请问如果表中条目很多时,以下3种写法,是否会影响查询速度?
select * From TB1 where FD1=x and FD2=xx and FD3=1
select * From TB1 where FD3=1 and FD1=x and FD2=xx
select * From (select * From TB1 where FD3=1) a Where FD1=x and FD2=xx