sql join 2007-05-09 gougou3250 连表查询,使用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
GuaGuaGua 2007-05-10 23:52 刚才在oracle 9i上测了一下 两个join的explain plan 显示的cost 都是一样的. 应该可以断定两者是一样的.:P 至少在oracle上