Alice only
Alice and Reena
Alice, Reena, and Timber
Sue, Alice, Reena, and Timber
第1题:
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 only
B. Alice and Reena
C. Alice, Reena, and Timber
D. Sue, Alice, Reena, and Timber
第2题:
把查询SC表的权限授予用户U1,并允许该用户再将此权限授予其他用户。实现此功能的正确SQL语句是______。
A.GRANT SELECT TO TABLE SC ON U1 WITH PUBLIC
B.GRANT SELECT ON TABLE SC TO U1 WITH PUBLIC
C.GRANT SELECT TO TABLE SC ON U1 WITH GRANT OPTION
D.GRANT SELECT ON TABLE SC TO U1 WITH GRANT OPTION
第3题:
“把查询sc表和更新sc表的grade列的权限授予用户user”的正确SQL语句是( )。
A)GRANT SELECT sc,UP DATE sc.Grade TO user
B)GRANT SELECT,UP DATE (grade) ON TABLE sc TO user
C)GRANT SELECT,UP DATE ON TABLE sc.Grade TO user
D)GRANT SELECT ON TABLE sc,UP DATE ON TABLE sc(grade) TO user
第4题:
第5题:
下面哪些SQL命令向名为ACCTSUPER的用户授予系统权限()
第6题:
The HR user creates a view with this command: SQL> CREATE VIEW emp_v AS SELECT * FROM scott.emp; Now HR wants to grant the SELECT privilege on the EMP_V view to the JIM user. Which statement is true in this scenario?()
第7题:
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()
第8题:
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()
第9题:
Alice only
Alice and Reena
Alice, Reena, and Timber
Sue, Alice, Reena, and Timber
第10题:
The user SKD can grant only the MGR_ROLE role to other users, but not the privileges in it.
The user SKD can revoke the MGR_ROLE only from the users for whom he/she is the grantor.
The user SKD can grant the privileges in the MGR_ROLE role to other users, but not with ADMIN OPTION.
The user SKD can grant the privileges in the MGR_ROLE role to other users, but cannot revoke privilegesfrom them
第11题:
GRANT SELECT ANY TRANSACTION TO ARREN
GRANT SELECT ON FLASHBACK_TRANSACTION_QUERY TO ARREN
GRANT SELECT_ANY_TRANSACTION TO ARREN
GRANT FLASHBACK TO ARREN
GRANT SELECT ANY VIEW TO ARREN
第12题:
The command fails because SCOTT still has privileges.
The command succeeds and privileges are revoked from JIM.
The command fails because HR cannot revoke the privileges from JIM.
The command succeeds and only HR has the privilege to perform the SELECT, INSERT, and UPDATEoperations on the EMP table.
第13题:
“把查询sc表和更新sc表的grade列的权限授予用户user1”的正确SQL语句是( )。
A.GRANT SELECT,UPDATE(grade)ON TABLE sc TO user1
B.GRANT SELECT sc,UPDATE sc.grade TO user1
C.GRANT SELECT,UPDATE ON TABLE sc.grade TO used
D.GRANT SELECT ON TABLE sc,UPDATE ON TABLE sc(grade) TO user1
第14题:
A GRANT SELECT ON 帐户 TO Jean
B GRANT SELECT TO Jean ON 帐户
C GRANT SELECT TO帐户 ON Jean
D GRANT SELECT ON Jean TO 帐户
第15题:
● 将表Emp的empname属性列的修改权限授予用户LIU, 并允许LIU 再将此权限转授其他人,实现的SQL语句是 (48) 。
(48)
A. GRANT update on Emp TO LIU WITH CHECK OPTION
B. GRANT update(empname) on Emp TO LIU WITH CHECK OPTION
C. GRANT update on Emp TO LIU WITH GRANT OPTION
D. GRANT update(empname) on Emp TO LIU WITH GRANT OPTION
第16题:
The user SCOTT who is the owner of ORDERS and ORDERJTEMS tables issues the following GRANT command: GRANT ALL ON orders, order_items TO PUBLIC; What correction needs to be done to the above statement? ()
第17题:
The user Alice wants to grant all users query privileges on her DEPT table. Which SQL statement accomplishes this?()
第18题:
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? ()
第19题:
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?()
第20题:
GRANT select ON dept TO ALL_ USER;
GRANT select ON dept TO ALL;
GRANT QUERY ON dept TO ALL_USERS
GRANT select ON dept TO PUBLIC;
第21题:
PUBLIC should be replaced with specific usernames.
ALL should be replaced with a list of specific privileges.
WITH GRANT OPTION should be added to the statement.
Separate GRANT statements are required for ORDERS and ORDERJTEMS tables.
第22题:
The commands execute successfully.
Command 6 produces an error because of circular role grant.
Command 5 produces an error because a role cannot be granted to another role.
Command 3 produces an error because the MGRROLE role already contains system privileges.
The table created by HR remains and HR still has the CREATE TABLE system privilege.
The table created by HR remains and HR can grant the CREATE TABLE system privilege to other users.
第23题:
HR can grant the privilege to JIM but without GRANT OPTION.
HR can grant the privilege to JIM because HR is the owner of the view.
SCOTT has to grant the SELECT privilege on the EMP table to JIM before this operation.
HR needs the SELECT privilege on the EMP table with GRANT OPTION from SCOTT for this operation.
第24题:
GRANT select, insert, update ON student_grades TO manager
GRANT select, insert, update ON student_grades TO ROLE manager
GRANT select, insert, modify ON student_grades TO manager WITH GRANT OPTION;
GRANT select, insert, update ON student_grades TO manager WITH GRANT OPTION;
GRANT select, insert, update ON student_grades TO ROLE manager WITH GRANT OPTION;
GRANT select, insert, modify ON student_grades TO ROLE manager WITH GRANT OPTION;