一个关于sql语句的写法 select * from t1 where not exists(select 1 from t2 where t1.c1=t2.c1 and t1.c2=t2.c2) 解决方案 » 免费领取超大流量手机卡,每月29元包185G流量+100分钟通话, 中国电信官方发货 可以用exists嘛delete from a where exists (select 1 from b where a.colname1 = b.colname1 and a.colname2 = b.colname2) 就算你只会用in也能想到select * from t1 where c1||c2 not in (select c1||c2 from t2 ) select * from t1 where not exists(select 1 from t2 where t1.c1=t2.c1 and t1.c2=t2.c2)你这语句好像不行了 查出来结果不对啊 select * from t1 where not exists(select 1 from t2 where t1.c1=t2.c1 and t1.c2=t2.c2)你这语句好像不行了 查出来结果不对啊不可能吧 select * from t1 where not exists(select 1 from t2 where t1.c1=t2.c1 and t1.c2=t2.c2)你这语句好像不行了 查出来结果不对啊怎么可能,你举一个测试表,将结果执行出来看看 select * from t1 where (t1.c1,tq.c2)not in (select t1,t2 from t2 ) 求Oracle视频教程 怎么不走索引 oracle10g 使用EXP很慢 Oracle 主键设置自增的问题 Oracle 10g的服务OracleCSService无法启动,提示“fopen failed E:\oeacle10g\css\init\abc.pid.” 在问一个关于SQL*Plus编辑的问题。 日期格式问题 急 在线等 number的问题.. 为什么把查询变成view后就报权限不足呢? 求大神指导一个sql查询问题 oracle查询优化 创建表时 提示ORA-00984: 列在此处不允许
where exists (select 1
from b
where a.colname1 = b.colname1
and a.colname2 = b.colname2)
select * from t1 where not exists(select 1 from t2 where t1.c1=t2.c1 and t1.c2=t2.c2)
你这语句好像不行了 查出来结果不对啊
select * from t1 where not exists(select 1 from t2 where t1.c1=t2.c1 and t1.c2=t2.c2)
你这语句好像不行了 查出来结果不对啊不可能吧
select * from t1 where not exists(select 1 from t2 where t1.c1=t2.c1 and t1.c2=t2.c2)
你这语句好像不行了 查出来结果不对啊
怎么可能,你举一个测试表,将结果执行出来看看