










從一個表中查找另一個表中沒有的值
比如要從DEPT中查找在表EMP中不存在數據的所有部門(數據中,DEPTNO值為40的記錄在表EMP中不存在)
1select deptno from dept
2minus
3select deptno from emp
posts - 66, comments - 12, trackbacks - 0, articles - 0 |
|
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() 從一個表中查找另一個表中沒有的值 比如要從DEPT中查找在表EMP中不存在數據的所有部門(數據中,DEPTNO值為40的記錄在表EMP中不存在)
|
|