关于字段里的数据不在另一个表中 select a,b,c ,d from Table awhere a.a not in(select b.a from Table1)这是其中一个字段数据不在另一个表中的语句那么如果两个字段的数据不在另一个表中的语句呢? 解决方案 » 免费领取超大流量手机卡,每月29元包185G流量+100分钟通话, 中国电信官方发货 select a,b,c ,d from Table awhere not exists(select 1 from table1 where a=a.a and b=a.b) 应该是3楼的,或者是select a,b,c ,d from Table awhere not exists(select 1 from table1 where a=a.a or b=a.b) left join on where b. is null select * from a left join b on a.id=b.idwhere b.id is null and b.name is null and .... 新手求助SQL2K转2005 想深入学习SQL SERVER 2005,哪本书比较合适于我自学? 如何在查询分析器中修改表结构? 客户端访问服务器sql server 数据库 客户端必须要装sql server 吗? 全文索引的问题 关于没有主键的数据库更新问题 求助 这个关联该如何写? 如何些两个数据关联的sql? 请问,在查询分析器里怎么显示变量@aa的值,存储过程怎么调试? 熟ADO的请看!存储过程里有了insert语句后在应用程序里不能返回output值(sql里可以) 作为主键的编号用字符还是整型? [求sql语句]表中数据有重复,怎么删掉重复的部分(重复的数据保留一条)
from Table a
where not exists(select 1 from table1 where a=a.a and b=a.b)
select a,b,c ,d
from Table a
where not exists(select 1 from table1 where a=a.a or b=a.b)
where b. is null
where b.id is null and b.name is null and ....