相关考题
-
单项选择题
数据库中有两个用户scott和myuser,物资表wz是属于myuser用户的,但当前用户是scott,要求查询物资表wz(wno,wname,wtype,wunit)物资单位wunit列为null的记录,取结果的前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 -
单项选择题
授予删除任何表的系统权限(DROP ANY TABLE)给user1,并使其能继续授该权限给其他用户,以下正确的SQL语句是()
A.Grant drop any table to user1
B.Grant drop any table to user1 with admin option
C.Grant drop table to user1
D.Grant drop any table to user1 with check potion -
单项选择题
当给一个有主键的表中插入重复行时,将引发下列哪个异常()
A.NO_DATA_FOUND
B.TOO_MANY_ROWS
C.DUP_VAL_ON_INDEX
D.ZERO_DIVIDE
