以下SQL语句可有更优化的方法?
select ID from TableA A where (A.cont='wt.pdmlink.PDMLinkProduct')
and exists(select null from TableB B where exists(select null from TableA C where (C.ID in ('347162')) and (B.ColB = C.ColC)) and A.ID = B.ColA)
select ID from TableA A where (A.cont='wt.pdmlink.PDMLinkProduct')
and exists(select null from TableB B where exists(select null from TableA C where (C.ID in ('347162')) and (B.ColB = C.ColC)) and A.ID = B.ColA)
解决方案 »
- 帮我看一下这几个sql 怎么写?
- Oracle connect string problem
- 急!如何从一个shell文件中传递一个参数到sql文件中,不能用存储过程
- 数据库可以启动所有服务,但是却无法登陆isqlplus,而且一切jdbc也不能连接,晕啊
- oracle服务无法自动启动的问题
- 误删数据,于是recover database until time '2003-07-28:13:00:00',出错!
- 高分求救!!!ora-12154: TNS: 无法处理服务名 急,在线等待
- 数据导入问题
- 有点难度的问题——如何在集合上施加SQL操作 ?
- ORA-24337:语句未准备好。这个错误该怎么解决啊?急,在线等。
- 关于数据库,方案,表空间的疑惑
- 求助
表的连接方式是什么?是hash join还是nested loop?优化模式是什么?是cbo还是rbo?