單項選擇題語句SELECT * FROM dept WHERE NOT EXISTS (SELECT * FROM emp WHERE deptno=dept.deptno)執(zhí)行后的結(jié)果為()
A.只顯示存在于EMP表中的部門全部信息
B.只顯示不存在于EMP表中的部門全部信息
C.未返回任何數(shù)據(jù)
D.顯示DEPT表中的全部信息
您可能感興趣的試卷
你可能感興趣的試題
1.單項選擇題已創(chuàng)建序列S1,若當前值為2,先執(zhí)行3次S1.CURRVAL,再執(zhí)行3次S1.NEXTVAL,最后S1的值是()
A.3
B.4
C.5
D.6
2.單項選擇題數(shù)據(jù)庫中有兩個用戶scott和myuser,物資表wz是屬于myuser用戶的,但當前用戶是scott,要求查詢物資表wz(wno,wname,wtype,wunit)物資單位wunit列為null的記錄,取結(jié)果的前5條記錄顯示,以下正確的SQL語句是()
A.select*from scott.wz where wunit is null and rownum<5
B.select*from myuser.wz where wunit = null and rownum<5
C.select*from myuser.wz where wunit is null and rownum<6
D.select*form scott.wz where wunit is null and rownum<6