摘要: **************** 修改t1表 **************** create table t1 as select * from dba_objects; update t1 set object_id=1 where object_id >1 and object_id 10000 and object_id 20000 and object_id 30000 and obj... 阅读全文
posted @ 2018-05-06 20:27 dayu.liu 阅读(360) 评论(0) 推荐(0) 编辑
摘要: 描述:此sql存在多个执行计划。项目组要根据他们提供加 hint的sql,从执行计划中选择一个和此加hint的sql进行匹配。在选择leading时,和项目组出现了分歧。根据测试leading中应选择根据where条件筛选之后结果集较少的作为leading(驱动表)。 1.SQL SQL>selec 阅读全文
posted @ 2018-05-06 17:12 dayu.liu 阅读(212) 评论(0) 推荐(0) 编辑