Author:王勤为
1.问题:如下2条语句的具体执行顺序是什么呢,有什么区别,哪条语句效率更高?
(1).select * from tb1 a join tb2 b on a.id=b.idwhere a.time between t11 and t12 and b.time between t21 and t22
(2).select * from (select * from tb1 where time between t11 and t12) a
join (select * from tb2 where time between t21 and t22) b on a.id&