怎样取得这个表中的其余记录啊? select a.column1 from table1 a,table2 bwhere a.column1<>b.column2 解决方案 » 免费领取超大流量手机卡,每月29元包185G流量+100分钟通话, 中国电信官方发货 Select * from table1 Where Not Exists(Select * from table2 Where column2=table1.column1) select * from table1 where table1.column1 not in (select column2 from table2) 或者select column1from table1where column1 not in(select column2 from table2) not in 的速度沒有exist快啊。 select * from table1 where column1 not in (select column2 from table2) 怎样用SQL做后台的录入、修改、查询、删除?在哪编写? 按核销单号小结 什么是外键表 是不是在该表中设置了外健.就是外健表啊? 求按月分类统计的SQL 如何取到最大值? 新手问题 如何把 declare @变量的值 在sql中显示出来 很简单的问题 请问数据库对象指的是什么? 菜鸟请教:各位帮帮忙,想用SQL SERVER建立一个图书馆数据库,有点找不到头绪,几个问题困扰好久了。谢谢! 怎么得到查询返回空? 存储过程的效率问题 @a 变量是一句sql语句,怎么用到存储过程中?
select column1
from table1
where column1 not in(select column2 from table2)