网友您好, 请在下方输入框内输入要搜索的题目:
题目内容
(请给出正确答案)
“把查询sc表和更新sc表的grade列的权限受予用户user1”的正确SQL语句是()。
- A、GRANT SELECT,UPDATE(grade)ON TABLE sc TOuser1
- B、GRANT SELECT sc,UPDATE sc,grade TO user1
- C、GRANT SELECT,UPDATE ON TABLE sc.grade TO user1
- D、GRANT SELECT ON TABLE sc,UPDATE ON TABLE sc(grade)TO user1
参考答案
更多 ““把查询sc表和更新sc表的grade列的权限受予用户user1”的正确SQL语句是()。A、GRANT SELECT,UPDATE(grade)ON TABLE sc TOuser1B、GRANT SELECT sc,UPDATE sc,grade TO user1C、GRANT SELECT,UPDATE ON TABLE sc.grade TO user1D、GRANT SELECT ON TABLE sc,UPDATE ON TABLE sc(grade)TO user1” 相关考题
考题
( 35 ) “ 把查询 sc 表和更新 sc 表的 grade 列的权限授予用户 user1 ” 的正确 SQL 语句是A ) GRANT SELECT , UPDATE ( grade ) ON TABLE sc TO user1B ) GRANT SELECT sc , UPDATE sc . grade TO user1C ) GRANT SELECT , UPDATE ON TABLE sc . grade TO user1D ) GRANT SELECT ON TABLE sc , UPDATE ON TABLE sc(grade) TO user1
考题
将查询SC表的权限授予用户U1,并允许该用户将此权限授予其他用户。实现该功能的 SQL语句是______。A.GRANT SELECT TO SC U1 WITH PUBLICB.GRANT SELECT ON SC TO U1 WITH PUBLICC.GRANT SELECT TO SC ON U1 WITH GRANT OPTIOND.GRANT SELECT ON SC TO U1 WITH GRANT OPTION
考题
设有关系模式:SC(sno,cno,grade),各属性含义依次是学号、课程号、分数。将关系SC中所有选修课程号为‘DB’的学生的分数增加10分,正确的SQL命令是A.ALTER TABLE SC SET GRADE+10 WHERE CNO=’DB’B.ALTER TABLE SC SET GRADE=GRADE+10 WHERE CNO=’DB’C.UPDATE SC SET GRADE+10 WHERE CNO=’DB’D.UPDATE SC SET GRADE=GRADE+10 WHERE CNO=’DB’
考题
检索学生姓名及其所选修课程的课程号和成绩,正确的SELECT语句是______。A.SELECT S.SN,SC.C#,SC.GRADE FROMS WHERE S.S#=SC.S#B.SELCECT S.SN,SC.C#,SC.GRADE FROM SC WHERE S.S#=SC.GRADEC.SELECT S.SN,SC.C#,SC,GRADE FROM S,SC WHERE S.S#:SC.S#D.SELSECT S.SN,SC.C#,SC.GRADE FROM S,SC
考题
已知关系模式:sc(sno, sname, grade),各属性含义依次为学号、课程名、分数。要查找“数据库”课分数最高的学生的学号,正确的SQL语句是A.SELECT sno FROM sc WHERE sname="数据库" AND grade=MAX(grade)B.SELECT sno FROM sc FOR sname="数据库" OR grade>=MAX(grade)C.SELECT sno FROM sc WHERE sname="数据库" AND grade=(SELECT MAX(grade) FROM scD.SELECT sno FROM sc FOR sname="数据库" OR grade=(SELECT MAX (grade) FROM sc
考题
( 3 2 )查询学生姓名及其所选修课程的课程号和成绩,正确的 SQL 语句是A ) SELECT S . SNAME , SC.C# , GRADE FROM S WHERE S . S # = SC . S#B ) SELECT S . SNAME , SC.C #, GRADE FROM SC WHERE S . S # = = SC . S#C ) SELECT S . SNAME , SC.C# , GRADE FROM S , SC WHERE S . S# = SC . S#D ) SELECT S . SNAME , SC.C# , GRADE FROM S , SC WHERE S .S# = SC . C#
考题
“把查询SC表和更新SC表的9rade列的权限受予用户userl”的正确SQL语句是( )。A) GRANT SELECT, UPDATE (grade) ON TABLE sc TO userlB) GRANT SELECT so,UPDATE sc,grade TO userlC) GRANT SELECT, UPDATE ON TABLE sc.grade TO userlD) GRANT SELECT ON TABLE sc, UPDATE ON TABLE sc (grade)TO userl
考题
已知学生选课信息表:sc(sno,cno,grade)。查询“至少选修了一门课程,但没有学习成绩的学生学号和课程号”的SQL语句是A.SELECT sno,cno FROM sc WHERE grade=NULLB.SELECT sno,cno FROM sc WHERE grade IS‘’C.SELECT sno,cno FROM sc WHERE grade IS NULLD.SELECT sno,cno FROM sc WHERE grade=‘’
考题
“把查询SC表和更新SC表的9rade列的权限授予用户user”的正确SQL语句是( )。A)GRANT.SELECT sc, UPDATE sc.grade TO userB)GRANT SELECT, UPDATE (grade) ON TABLE sc TO userC)GRANT SELECT, UPDATE ON TABLE sc.grade TO userD)GRANT SELECT ON TABLE sc, UPDATE ON TABLE sc(grade) TO user
考题
“把查询sc表和更新sc表的grade列的权限受予用户user1”的正确SQL语句是______。A.GRANT SELECT, UPDATE(grade)ON TABLE sc TO user1B.GRANT SELECT sc, UPDATE sc, grade TO user1C.GRANT SELECT, UPDATE ON TABLE sC.grade TO user1D.GRANT SELECT ON TABLE sc, UPDATE ON TABLE sc(grade) TO user1
考题
“从学生选课信息表中找出无成绩的元组”的SQL语句是( )。 A.SELECT*FROM sc WHERE grade=NULL B.SELECT*FROM sc WHERE grade IS'' C.SELECT*FROM sc WHERE grade IS NULL D.SELECT*FROM sc WHERE grade=''
考题
“把查询sc表和更新sc表的grade列的权限授予用户user1”的正确SQL语句是( )。A.GRANT SELECT,UPDATE(grade)ON TABLE sc TO user1B.GRANT SELECT sc,UPDATE sc.grade TO user1C.GRANT SELECT,UPDATE ON TABLE sc.grade TO usedD.GRANT SELECT ON TABLE sc,UPDATE ON TABLE sc(grade) TO user1
考题
若要使所有学科80分以上的成绩都增加5%, 80至60分的成绩都增加10%,应如何更新数据库( )。 A.UPDATE SC SET GRADE=GRADE*1.05 WHERE SC.GRADE=80 UPDATE SC SET GRADE=GRADE* 1.10 WHERE SC.GRADE=60 AND SC.GRADE =80 B.UPDATE SC SET GRADE=GRADE* 1.10 WHERE SC.GRADE=60 AND SC.GRADE=80 UPDATE SC SET GRADE=GRADE* 1.05 WHERE SC.GRADE=80 C.UPDATE SC SET GRADE=GRADE* 1.05 WIRE SC.GRADE=80 AND SET GRADE =GRADE* 1.10 WHARE SC.GRADE=60 D.UPDATE SC SET GRADE=GRADE* 1.10 WHERE SC.GRADE=60 AND SC.GRADE =80 AND SET GRADE=GRADE* 1.05 WHERE SC.GRADE=80
考题
把对表SC的查询权限授予所有用户的SQL语句是( )。A.GRANT SELECT ON TABLE SC TO PublicB.GPANT SELECT ON TABLE SC TO AllC.GRANT SELECT ON SC TO PublicD.GRANT SELECT ON SC TO All
考题
把查询SC表的权限授予用户U1,并允许该用户再将此权限授予其他用户。实现此功能的正确SQL语句是______。A.GRANT SELECT TO TABLE SC ON U1 WITH PUBLICB.GRANT SELECT ON TABLE SC TO U1 WITH PUBLICC.GRANT SELECT TO TABLE SC ON U1 WITH GRANT OPTIOND.GRANT SELECT ON TABLE SC TO U1 WITH GRANT OPTION
考题
将查询SC表的权限授予用户U1,并允许该用户再将此权限授予其他用户。实现此功能的正确SQL语句是______。A.GRANT SELECT TO TABLE SC ON U1 WITH PUBLICB.GRANT SELECT ON TABLE SC TO U1 WITH PUBLICC.GRANT SELECT TO TABLE SC ON U1 WITH GRANT OPTIOND.GRANT SELECT ON TABLE SC TO U1 WITH GRANT OPTION
考题
检索学生姓名及其所选修课程的课程号和成绩。正确的SELECT语句是______。A.SELECT S.SN,SC.C#,SC.GRADE FROM S WHERE S.S#=SC.S#B.SELECT S.SN,SC.C#,SC.GRADE FROM SC WHERE S.S#=SC.GRADEC.SELECT S.SN, SC.C#,SC.GRADE FROM S,SC WHERE S.S#=SC.S#D.SELECT S.SN,SC.C#,SC.GRADE FROM S,SC
考题
从学生选课信息表中找出无成绩的元组的SQL语句是( )。A.SELECT*FROM sc WHERE grade=NULLB.SELECT*FROM sc WHERE grade IS"C.SELECT*FROM sc WHERE grade IS NULLD.SELECT*FROM sc WHERE grade="
考题
“把查询sc表和更新sc表的grade列的权限受予用户userl”的正确SQL语句是( )。A)GRANT SELECT,UP DATE(grade)ON TABLE sc TO userlB)GRANT SELECT sc,UP DATE sc,grade TO userlC)GRANT SELECT,UP DATE ON TABLE sc,grade TO userlD)GRANT SELECT ON ABLE sc,UP DATE ON TABLE sc(grade) TO userl
考题
“把查询sc表和更新sc表的grade列的权限授予用户user”的正确SQL语句是( )。A)GRANT SELECT sc,UP DATE sc.Grade TO userB)GRANT SELECT,UP DATE (grade) ON TABLE sc TO userC)GRANT SELECT,UP DATE ON TABLE sc.Grade TO userD)GRANT SELECT ON TABLE sc,UP DATE ON TABLE sc(grade) TO user
考题
以下SQL语句不能实现要求的是()
A.把查询Student表权限授给用户U1GRANT SELECTON TABLE StudentTO U1B.把对表SC的查询权限授予所有用户GRANT SELECT ON TABLE SCTO PUBLICC.把对Student表和Course表的全部权限授予用户U2和U3GRANT ALL PRIVILIGESON TABLE Student, Course TO U2,U3D.把查询Student表和修改学生学号的权限授给用户U4GRANT UPDATE, SELECTON TABLE StudentTO U4
考题
下面哪些SQL命令向名为ACCTSUPER的用户授予系统权限()A、GRANT INSERT ON emp TO acctsuperB、GRANT CREATE TABLE TO acctsuperC、GRANT SELECT ON emp TO acctsuperD、GRANT UPDATE ANY TABLE TO acctsuperE、GRANT CREATE SESSION TO acctsuper
考题
学生选课信息表:sc(sno,cno,grade),主键为(sno,cno),从学生选课信息表中找出无成绩的元组的SQL语句是()。A、SELECT * FROM sc WHERE grade=NULLB、SELECT * FROM sc WHERE grade IS“ ”C、SELECT * FROM sc WHERE grade=‘ ’D、SELECT * FROM sc WHERE grade IS NULL
考题
把对关系SC的属性GRADE的修改权授予用户ZHAO的SQL语句是 ()A、GRANT GRADE ON SC TO ZHAOB、GRANT UPDATE ON SC TO ZHAOC、GRANT UPDATE (GRADE) ON SC TO ZHAOD、GRANT UPDATE ON SC (GRADE) TO ZHAO
考题
单选题把对关系SC的属性GRADE的修改权授予用户ZHAO的SQL语句是 ()A
GRANT GRADE ON SC TO ZHAOB
GRANT UPDATE ON SC TO ZHAOC
GRANT UPDATE (GRADE) ON SC TO ZHAOD
GRANT UPDATE ON SC (GRADE) TO ZHAO
考题
单选题“把查询sc表和更新sc表的grade列的权限受予用户user1”的正确SQL语句是()。A
GRANT SELECT,UPDATE(grade)ON TABLE sc TOuser1B
GRANT SELECT sc,UPDATE sc,grade TO user1C
GRANT SELECT,UPDATE ON TABLE sc.grade TO user1D
GRANT SELECT ON TABLE sc,UPDATE ON TABLE sc(grade)TO user1
热门标签
最新试卷