Oracle查询优化改写--------------------操作多个表

一、union all与空字符串

二、组合相关行

三、in 、exists、inter join 、left join 、right join 、full join 之间的区别

  ’inner  join 返回两表相符合的数据

   left    join  以左表为主表,左表返回所有的数据,在右表中只返回与左表匹配的数据

  right   join 以右表为组表,右表返回所有的数据,在左表只返回与右表匹配的数据

  Full    join  该放手均返回所有的数据,但是只有相匹配的数据显示在同一行

四、自关联

五、not in  not exists 和left  join 

  

原文地址:https://www.cnblogs.com/hanxue112253/p/8144932.html