oracle in与exists的使用
生活随笔
收集整理的這篇文章主要介紹了
oracle in与exists的使用
小編覺得挺不錯的,現在分享給大家,幫大家做個參考.
關于in:
[TEST1@orcl#22-12月-10] SQL>select * from t9 where sal in (select id from t8);
YEAR SAL
---------- ----------
2000 10
這個句子與下面的句子等價:
[TEST1@orcl#22-12月-10] SQL>select t9.* from t9,(select distinct id from t8) t8 where t8.id=t9.sal;
sele
總結
以上是生活随笔為你收集整理的oracle in与exists的使用的全部內容,希望文章能夠幫你解決所遇到的問題。
- 上一篇: matlab R2010a window
- 下一篇: linux与windows回车换行符的区