以下语句谁的效率高:
--1:
select a.*,b.gcount from a,b where a.id=b.id--2:
select a.*,b.gcount from a inner join b on a.id=b.id
--1:
select a.*,b.gcount from a,b where a.id=b.id--2:
select a.*,b.gcount from a inner join b on a.id=b.id
优化器生成一样的查询计划。