某1张表 table
有2个字段 cloumn1,cloumn2,都不是主键也没有建索引
比如 select * from table where cloumn1=?
比 select * from table where cloumn2=?
查出来数据要多很多那么 select * from table where cloumn1=? and cloumn2 =?
和select * from table where cloumn2=? and cloumn1 =?
查询速度有区别吗?
请各位达人指教
有2个字段 cloumn1,cloumn2,都不是主键也没有建索引
比如 select * from table where cloumn1=?
比 select * from table where cloumn2=?
查出来数据要多很多那么 select * from table where cloumn1=? and cloumn2 =?
和select * from table where cloumn2=? and cloumn1 =?
查询速度有区别吗?
请各位达人指教
解决方案 »
免费领取超大流量手机卡,每月29元包185G流量+100分钟通话, 中国电信官方发货