网友您好, 请在下方输入框内输入要搜索的题目:

题目内容 (请给出正确答案)
单选题
执行下列 SQL 语句之后: GRANT ALL PRIVILEGES ON TABLE student TO USER user1 假设用户USER1没有其他权限,下列哪一项操作是USER1可以执行的?()
A

将表STUDENT的所有权限赋予其他用户

B

删除关联到表STUDENT的视图

C

删除表STUDENT

D

以上都不是


参考答案

参考解析
解析: 暂无解析
更多 “单选题执行下列 SQL 语句之后: GRANT ALL PRIVILEGES ON TABLE student TO USER user1 假设用户USER1没有其他权限,下列哪一项操作是USER1可以执行的?()A 将表STUDENT的所有权限赋予其他用户B 删除关联到表STUDENT的视图C 删除表STUDENTD 以上都不是” 相关考题
考题 ( 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

考题 实现“取消用户USER4对学生表STUD中学号(XH)的修改权限”这一功能的SQL语句是( )。A.REVOKE UPDATE (XH) ON TABLE FROM USER4;B.REVOKE UPDATE (XH) ON TABLE STUD FROM PUBLIC ;C.REVOKE UPDATE (XH) ON TABLE STUD FROM USER4;D.REVOKE ALL PRIVILEGES ON TABLE STUD FROM USER4;

考题 “把查询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

考题 20 ) 下列 SQL 语句中 , 能够实现 “ 收回用户 WANG 对学生表 ( STUDENT ) 中学号 ( XH ) 的修改权 ” 这一功能的是A ) GRANT UPDATE ( XH ) ON STUDENT TO WANGB ) GRANT UPDATE ( XH ) ON TABLE TO WANGC ) REVOKE UPDATE ( XH ) ON STUDENT FROM WANGD ) REVOKE UPDATE ( XH ) ON TABLE TO WANG

考题 The user Alice wants to grant all users query privileges on her DEPT table. Which SQL statement accomplishes this? () A. GRANT select ON dept TO ALL_ USER;B. GRANT select ON dept TO ALL;C. GRANT QUERY ON dept TO ALL_USERSD. GRANT select ON dept TO PUBLIC;

考题 The user Sue issues this SQL statement:GRANT SELECT ON sue. EMP TO alice WITH GRANT OPTION; The user Alice issues this SQL statement:GRANT SELECT ON sue. EMP TO reena WITH GRANT OPTION; The user Reena issues this SQL statement:GRANT SELECT ON sue. EMP TO timber;The user Sue issues this SQL statement:REVOKE select on sue. EMP FROM alice;For which users does the revoke command revoke SELECT privileges on the SUE.EMP table?()A. Alice onlyB. Alice and ReenaC. Alice, Reena, and TimberD. Sue, Alice, Reena, and Timber

考题 利用SQL的GRANT语句可向用户授予操作权限。当用该语句向用户授予操作权限时,若允许用户将获得的权限再授予其他用户,应在该语句中使用短语( )。 A.WITH PRIVILEGES B.WITH OPTION C.WITH GRANT OPTION D.WITH ALL PRIVILEGES

考题 “把查询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

考题 下列SQL语句中,能够实现“收回用户WANG对学生表(STUDENT)中学号(XH)的修改权”这一功能的是( )。A.GRANT UPDATE(XH) ON STUDENT TO WANGB.GRANT UPDATE(XH) ON TABLE TO WANGC.REVOKE UPDATE(XH) ON STUDENT FROM WANGD.REVOKE UPDATE(XH) ON TABLE FROM WANG

考题 把对表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

考题 Which of the following statements is used to revoke all DML privileges on table EMPLOYEE from user TOM?() A.REVOKE ALL PRIVILEGES FROM USER tomB.REVOKE ALL ON EMPLOYEE FROM USER tomC.REVOKE EXECUTE ON EMPLOYEE FROM USER tomD.REVOKE PRIVILEGES ON EMPLOYEE FROM USER tom

考题 以下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

考题 若将Workers表的插入权限赋予用户User1,并允许其将该权限授予他人,那么对应的SQL语句为“GRANT( )TABLE Workers TO User1(请作答此空);”。A.FOR ALL B.PUBLIC C.WITH CHECK OPTION D.WITH GRANT OPTION

考题 若要将部门表Demp中name列的修改权限赋予用户Ming。并允许Ming将该限授予他人。实现的SQL语句如下:GRANT(请作答此空)ON TABLE Demp TO Ming( )A.SELECT(name) B.UPDATE (name) C.INSERT(name) D.ALL PRIVILEGES(name)

考题 下列哪个语句将赋予用户John向表tab1中插入数据的权限?()A、GRANT ADD ON TABLE tab1 TO JohnB、GRANT INSERT ON tab1 TO JohnC、GRANT ADD ON TABLE tab1 TO USER JohnD、GRANT INSERT ON TABLE tab1 TO USER John

考题 The user Alice wants to grant all users query privileges on her DEPT table. Which SQL statement accomplishes this? ()A、GRANT select ON dept TO ALL_ USER;B、GRANT select ON dept TO ALL;C、GRANT QUERY ON dept TO ALL_USERSD、GRANT select ON dept TO PUBLIC;

考题 Examine the statement: GRANT select, insert, update ON student_grades TO manager WITH GRANT OPTION; Which two are true?()A、MANAGER must be a role.B、It allows the MANAGER to pass the specified privileges on to other users.C、It allows the MANAGER to create tables that refer to the STUDENT_GRADES table.D、It allows the MANAGER to apply all DML statements on the STUDENT_GRADES table.E、It allows the MANAGER the ability to select from, insert into, and update the STUDENT_GRADES table.F、It allows the MANAGER the ability to select from, delete from, and update the STUDENT_GRADES table.

考题 授予删除任何表的系统权限(DROP ANY TABLE)给user1,并使其能继续授该权限给其他用户,以下正确的SQL语句是()A、Grant drop any table to user1B、Grant drop any table to user1 with admin optionC、Grant drop table to user1D、Grant drop any table to user1 with check potion

考题 Which of the following statements is used to revoke all DML privileges on table EMPLOYEE from user TOM?()A、REVOKE ALL PRIVILEGES FROM USER tomB、REVOKE ALL ON EMPLOYEE FROM USER tomC、REVOKE EXECUTE ON EMPLOYEE FROM USER tomD、REVOKE PRIVILEGES ON EMPLOYEE FROM USER tom

考题 You need to give the MANAGER role the ability to select from, insert into, and modify existing rows in the STUDENT_GRADES table. Anyone given this MANAGER role should be able to pass those privileges on to others. Which statement accomplishes this? ()A、GRANT select, insert, update ON student_grades TO managerB、GRANT select, insert, update ON student_grades TO ROLE managerC、GRANT select, insert, modify ON student_grades TO manager WITH GRANT OPTION;D、GRANT select, insert, update ON student_grades TO manager WITH GRANT OPTION;E、GRANT select, insert, update ON student_grades TO ROLE manager WITH GRANT OPTION;F、GRANT select, insert, modify ON student_grades TO ROLE manager WITH GRANT OPTION;

考题 单选题The user Sue issues this SQL statement: GRANT SELECT ON sue. EMP TO alice WITH GRANT OPTION; The user Alice issues this SQL statement: GRANT SELECT ON sue. EMP TO reena WITH GRANT OPTION; The user Reena issues this SQL statement: GRANT SELECT ON sue. EMP TO timber; The user Sue issues this SQL statement: REVOKE select on sue. EMP FROM alice; For which users does the revoke command revoke SELECT privileges on the SUE.EMP table?()A Alice onlyB Alice and ReenaC Alice, Reena, and TimberD Sue, Alice, Reena, and Timber

考题 单选题Examine the commands executed in the following sequence:  1:SQL CREATE ROLE mgrrole;  2:SQL GRANT create user,select any table,connect,resource TO mgrrole;  3:SQL GRANT select,update ON sh.sales TO mgrrole;  4:SQL CREATE ROLE ceo IDENTIFIED BY boss;  5:SQL GRANT mgrrole,drop any table,create any directory TO ceo;  6:SQL GRANT ceo TO mgrrole;  Which statement is true about the above commands()A The commands execute successfully.B Command 6 produces an error because of circular role grant.C Command 5 produces an error because a role cannot be granted to another role.D Command 3 produces an error because the MGRROLE role already contains system privileges.E The table created by HR remains and HR still has the CREATE TABLE system privilege.F The table created by HR remains and HR can grant the CREATE TABLE system privilege to other users.

考题 单选题You execute the following set of commands to create a database user and to grant the system privileges in your production environment.  SQL CREATE USER user01  IDENTIFIED BY oracle DEFAULT TABLESPACE tbs1  TEMPORARY TABLESPACE temp PROFILE default  /  SQL GRANT create session, create table TO user01; While executing the command to create a table, the user gets the following error message and the CREATE TABLE.. command fails.  ERROR at line 1: ORA-01950: no privileges on tablespace  What could be the possible reason for this error message?()A The tablespace TBS1 is full.B The user is not the owner of the SYSTEM tablespace.C The user does not have quota on the TBS1 tablespace.D The user does not have sufficient system privileges to create table in the TBS1 tablespace.E The user does not have sufficient privileges to create table on the default permanent tablespace.

考题 单选题The user HR owns the EMP table. The user HR grants privileges to the user SCOTT by using this command:  SQL GRANT SELECT,INSERT,UPDATE ON emp TO scott WITH GRANT OPTION; The user SCOTT executes this command to grant privileges to the user JIM: SQL GRANT SELECT,INSERT,UPDATE ON hr.emp TO jim;  Now, the user HR decides to revoke privileges from JIM using this command: SQL REVOKE SELECT,INSERT,UPDATE ON emp FROM jim; Which statement is true after HR issues the REVOKE command()A The command fails because SCOTT still has privileges.B The command succeeds and privileges are revoked from JIM.C The command fails because HR cannot revoke the privileges from JIM.D The command succeeds and only HR has the privilege to perform the SELECT, INSERT, and UPDATEoperations on the EMP table.

考题 单选题You are the DBA for an academic database. You need to create a role that allows a group of users to modify existing rows in the STUDENT_GRADES table. Which set of statements accomplishes this? ()A CREATE ROLL registrar; GRANT MODIFY ON student_grant TO registrar; GRANT registrar to user 1, user2, user3B CREATE NEW ROLE registrar; GRANT ALL ON student_grant TO registrar; GRANT registrar to user 1, user2, user3C CREATE ROLL registrar; GRANT UPDATE ON student_grant TO registrar; GRANT ROLE to user1, user2, user3D CREATE ROLL registrar; GRANT UPDATE ON student_grant TO registrar; GRANT registrar to user 1, user2, user3;E CREATE registrar; GRANT CHANGE ON student_grant TO registrar; GRANT registrar;

考题 单选题The user Alice wants to grant all users query privileges on her DEPT table. Which SQL statement accomplishes this? ()A GRANT select ON dept TO ALL_ USER;B GRANT select ON dept TO ALL;C GRANT QUERY ON dept TO ALL_USERSD GRANT select ON dept TO PUBLIC;

考题 多选题Examine the statement: GRANT select, insert, update ON student_grades TO manager WITH GRANT OPTION; Which two are true?()AMANAGER must be a role.BIt allows the MANAGER to pass the specified privileges on to other users.CIt allows the MANAGER to create tables that refer to the STUDENT_GRADES table.DIt allows the MANAGER to apply all DML statements on the STUDENT_GRADES table.EIt allows the MANAGER the ability to select from, insert into, and update the STUDENT_GRADES table.FIt allows the MANAGER the ability to select from, delete from, and update the STUDENT_GRADES table.