有2个表
table1 一千万条记录
table2 一百万条记录
2个表的相关字段都有索引select * from table1 t1,table2 t2 
where t1.id=t2.id
and t1.name='111'
and t2.name='222'有些资料说会把from子句中靠后的表作为驱动表,所以应该把小表放后面
但是,在进行表连接之前,是否会先按照where子句的条件筛选记录
那么在
select * from table1 t1 where t1.name='111'有50万记录
select * from table2 t2 where t1.name='222'有80万记录
这种情况下,是不是应该把t1放在后面????