單項選擇題

數(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

微信掃碼免費搜題