Which statement describes the outcome of the command?

View the Exhibit and examine the privileges granted to the SL_REP user.

The EMP table is owned by the SCOTT user. The SL_REP user executes the following command:

SQL> GRANT SELECT ON scott.emp TO hr;
Which statement describes the outcome of the command?

View the Exhibit and examine the privileges granted to the SL_REP user.

The EMP table is owned by the SCOTT user. The SL_REP user executes the following command:

SQL> GRANT SELECT ON scott.emp TO hr;
Which statement describes the outcome of the command?

A.
The command executes successfully

B.
The command produces an error because the EMP table is owned by SCOTT

C.
The command produces an error because SL_REP has the GRANT ANY OBJECT PRIVILEGE
without ADMIN_OPTION

D.
The command produces an error because SL_REP does not have the SELECT privilege with
GRANT_OPTION on the EMP table



Leave a Reply 2

Your email address will not be published. Required fields are marked *


MJ

MJ

Answer is “A” because it has “GRANT ANY OBJECT PRIVILEGE”. The “Admin Option” = N only means the user cannot grant this “GRANT ANY OBJECT PRIVILEGE” to other user.