求SQL!拜托各位 select * from a where not exists(select * from b where a.单据号 =b.单据号 ); 解决方案 » 免费领取超大流量手机卡,每月29元包185G流量+100分钟通话, 中国电信官方发货 写个另类的Select * from 主表 a ,明细表 b where a.单据号=b.单据号(+) and b.单据号 is null好像也能达到目的 select * from a where not exists(select 单据号 from b where a.单据号 =b.单据号 ); bzszp(SongZip)的好些hero1981(英雄)的这个b.单据号 is null会使你将来使用索引时作废 在线等 oracle 建函数问题 Oracle数据库,怎样使用connect by实现树形结构中数值的累加? 一条语句索引查询和全表查询的疑问 由列变行排序问题 sum函数的应用 请教:关于sql*plus的字节单位的设置问题 请教一个父子表的更新问题 如何判断一个表分区的名字是否存在并是什么名字 oracle9i如何安装 急,急急!!!1linux7.3下安装ORACLE8。1。7在定制建库的时候,在全局数据库名和SID栏中,不能输入任何字?怎么回来啊 各位大哥,大姐,小弟遇到一个oracle的怪问题,请大家帮我呀!急急!! 莫名其妙的问题12638,然后就连结不上了
Select * from 主表 a ,明细表 b where a.单据号=b.单据号(+) and b.单据号 is null
好像也能达到目的
hero1981(英雄)的这个b.单据号 is null
会使你将来使用索引时作废