关于查询的问题 上万条数据如果是一个子查询,或者表可以用 not exists 或者外连接 判断 解决方案 » 免费领取超大流量手机卡,每月29元包185G流量+100分钟通话, 中国电信官方发货 例如 记录在a表 插入表为b表select a.*from a left outer join bon ..关联字段where b.col is null 根据ID 关联下查查用not in() 或者 no exists()比如:select A.id from A where not exists(select 1 from B where A.Id=B.ID) select * from tab0 ---要查入的表unionselect * from tab1 ---查入后的表 通过表中唯一标示进行minus操作如:select column1 from tab1 --源表minusselect column1 from tab2 --目标表 呵呵minus..select columnname from srctableminusselect columnname from distable 帮忙写个存储过程!!! update 效率及优化问题 怎么使用Oracle数据库 oracle rman 报错 求助,这条语句那里错了 SQL文的效率问题(在线急等) 今天碰到好多问题大家帮个忙,谢谢 ora8i 下能用svrmgrl命令 ora9i下输入svrmgrl为什么不好使? 在oracle中存取声音文件 把timestamp类型的值减去3分钟,怎么操作? Oracle与COM口之间的编程 简单问题:有些绕蒙了,如何用递归循环形成树菜单....
插入表为b表select a.*
from a left outer join b
on ..关联字段
where b.col is null
用not in() 或者 no exists()比如:select A.id from A where not exists(select 1 from B where A.Id=B.ID)
union
select * from tab1 ---查入后的表
select column1 from tab1 --源表
minus
select column1 from tab2 --目标表
minus
select columnname from distable