intersect运算 返回查询结果中相同的部分
exp:查询两个人的共同好友,表 org_optor_friends 为好友表。
select friend_id from org_optor_friends f1 where f1.optor_id="ligp" and status="1" intersect select friend_id from org_optor_friends f2 where f2.optor_id="shangtao" and status="1"利用Ruby 向 MongoDB 插入 二进制内容(图像文件)Oracle三层嵌套查询的bug相关资讯 Oracle基础教程
- Oracle块编程返回结果集详解 (11/10/2013 10:45:58)
- Oracle基础教程之设置系统全局区 (08/22/2013 14:24:00)
- Oracle基础教程知识点总结 (06/18/2013 07:43:32)
| - Oracle基础教程之tkprof程序详解 (10/22/2013 11:49:50)
- Oracle基础教程之sqlplus汉字乱码 (07/18/2013 16:30:00)
- Oracle 管理之 Linux 网络基础 (02/16/2013 18:37:35)
|
本文评论 查看全部评论 (0)