select * from A where x+y not in (select x+y from B)
解决方案 »
- Delphi TreeView 遍历
- 高分求解决方法
- 哪位高手帮忙看看哪里错了啊,谢谢
- 代码问题?
- 点击一个按钮出现一个grid,在grid外窗体上任何位置点击都能使grid隐藏的代码该怎样写?
- 如何获得ListView中的某一个值,例如:获得第二行第三列得值;
- 那里有sniffer的delphi源码?最好有说明..
- 要用Combobox类读取数据库中的某个字段中某些值作为combobox类的items,有什么好方法?help me
- 这条SQL语句的问题?
- 如何动态配置access数据库?
- 文件内容处理问题(比较难呀,我只有25分了!)!
- 市面上有无DELPHI的中文帮助文档,请举书名,谢谢!!!!!!
select * from b where x,y not in (select x,y from a)
试试看吧!对了,请把错误提示一并帖出来
select * from B where X + '@' + Y not in (select X + '@' + Y from A)
没有SQL Server不能调试~~随手写的~~
有更好的办法的~~不过网吧太吵了~~唉~~大脑迟钝了~~竟然想不起来了~~~
呵呵,我在听电视新闻,脑子也不灵。
select * from A where y*65536+x not in (select y*65536+x from B) 正宗的写法:
select * from A
minus
select A.* from A, B where join B on A.x=B.x and A.y=B.y不过集合算法据说是很费时间,只能测测看了
select * from A
minus
select A.* from A, B where A.x=B.x and A.y=B.y