单选题执行下列 SQL 语句之后: GRANT ALL PRIVILEGES ON TABLE student TO USER user1 假设用户USER1没有其他权限,下列哪一项操作是USER1可以执行的?()A将表STUDENT的所有权限赋予其他用户B删除关联到表STUDENT的视图C删除表STUDENTD以上都不是
单选题
执行下列 SQL 语句之后: GRANT ALL PRIVILEGES ON TABLE student TO USER user1 假设用户USER1没有其他权限,下列哪一项操作是USER1可以执行的?()
A
将表STUDENT的所有权限赋予其他用户
B
删除关联到表STUDENT的视图
C
删除表STUDENT
D
以上都不是
参考解析
解析:
暂无解析
相关考题:
( 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 ALLB.PUBLICC.WITH CHECK OPTIOND.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?()AAlice onlyBAlice and ReenaCAlice, Reena, and TimberDSue, 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()AThe commands execute successfully.BCommand 6 produces an error because of circular role grant.CCommand 5 produces an error because a role cannot be granted to another role.DCommand 3 produces an error because the MGRROLE role already contains system privileges.EThe table created by HR remains and HR still has the CREATE TABLE system privilege.FThe 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?()AThe tablespace TBS1 is full.BThe user is not the owner of the SYSTEM tablespace.CThe user does not have quota on the TBS1 tablespace.DThe user does not have sufficient system privileges to create table in the TBS1 tablespace.EThe 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()AThe command fails because SCOTT still has privileges.BThe command succeeds and privileges are revoked from JIM.CThe command fails because HR cannot revoke the privileges from JIM.DThe 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? ()ACREATE ROLL registrar; GRANT MODIFY ON student_grant TO registrar; GRANT registrar to user 1, user2, user3BCREATE NEW ROLE registrar; GRANT ALL ON student_grant TO registrar; GRANT registrar to user 1, user2, user3CCREATE ROLL registrar; GRANT UPDATE ON student_grant TO registrar; GRANT ROLE to user1, user2, user3DCREATE ROLL registrar; GRANT UPDATE ON student_grant TO registrar; GRANT registrar to user 1, user2, user3;ECREATE 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? ()AGRANT select ON dept TO ALL_ USER;BGRANT select ON dept TO ALL;CGRANT QUERY ON dept TO ALL_USERSDGRANT 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.