select name
from a where name not in (select name from b)
from a where name not in (select name from b)
解决方案 »
- 将varchar转换为int时出错??不解,求助!~
- 关于execl导入数据库的问题!!!!!!!!!
- 高分请教!数据库复制(公网和内网的2台机器)时报“无法连接到subscriber”错误。
- 通过互联网是否能使用数据库的复制功能呢?
- report 分组
- 在Analysis Services 里怎么建立一个事物?
- 求助一sql语句。。
- 请教!有关安装sql server2k的两点疑惑。。。。感谢了!
- SQL的嵌入式编程
- 高手们帮帮办啊!给点思路也行!!!求救!!!在线等.谢谢,好人会有好报的!
- 我有powerdesigner9.5,请问如何才能让它支持mysql4以上
- 从外部导进的数据库用户名不同导致表格的名称全变了怎么办?
select name from A where name not in( select id from B)--也可以这样写
select name from A where not exists(select 1 from B where A.name=B.id)