sql join

连表查询,使用join与不使用有什么效率上的区别么?
例如:
select * from t1,t2 where t1.id = t2.p_id;
select * from t1 join t2 on (t1.id = t2.p_id);
至于left join/right join 我在条件后再加一个t1.xx or t2.xx is not null

记得好象是一样的.一个是sql/92规范语法.

我不很确定 :P 望楼主查查

刚才在oracle 9i上测了一下

两个join的explain plan 显示的cost 都是一样的.

应该可以断定两者是一样的.:P

至少在oracle上