• 软件测试技术
  • 软件测试博客
  • 软件测试视频
  • 开源软件测试技术
  • 软件测试论坛
  • 软件测试沙龙
  • 软件测试资料下载
  • 软件测试杂志
  • 软件测试人才招聘
    暂时没有公告

字号: | 推荐给好友 上一篇 | 下一篇

一种嵌套查询,变成连接查询的办法

发布: 2007-7-02 11:08 | 作者: admin | 来源: | 查看: 20次 | 进入软件测试论坛讨论

领测软件测试网 主  题:这句sql语句可不可以变成连接查询的呢? 作  者:overmind (overmind) 等  级: 信 誉 值:100 所属社区:Oracle 开发 问题点数:100 回复次数:6 发表时间:2004-12-14 10:31:43 select t1.oid from t1 where t1.oid not in (select oid from t2 where t2.userid=@#overmind@#); 回复人: overmind(overmind) ( ) 信誉:100 2004-12-14 10:32:07 得分: 0   谢谢了先! Top 回复人: ORARichard(没钱的日子好难过啊) ( ) 信誉:100 2004-12-14 10:38:00 得分: 100   select t1.oid from t1,(select oid from t2 where t2.userid=@#overmind@#) t3where t1.oid <> t3.oid Top 回复人: ORARichard(没钱的日子好难过啊) ( ) 信誉:100 2004-12-14 10:40:49 得分: 0    还可以select t1.oid from t1,( select oid from t1 minus select oid from t2 where userid=@#overmind@#) t3where t1.oid=t3.oid;

延伸阅读

文章来源于领测软件测试网 https://www.ltesting.net/


关于领测软件测试网 | 领测软件测试网合作伙伴 | 广告服务 | 投稿指南 | 联系我们 | 网站地图 | 友情链接
版权所有(C) 2003-2010 TestAge(领测软件测试网)|领测国际科技(北京)有限公司|软件测试工程师培训网 All Rights Reserved
北京市海淀区中关村南大街9号北京理工科技大厦1402室 京ICP备10010545号-5
技术支持和业务联系:info@testage.com.cn 电话:010-51297073

软件测试 | 领测国际ISTQBISTQB官网TMMiTMMi认证国际软件测试工程师认证领测软件测试网