The user Alice wants to grant all users query privileges on her DEPT table. Which SQL statement accomplishes this?()
第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表和更新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
第3题:
( 35 ) “ 把查询 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 user1
D ) GRANT SELECT ON TABLE sc , UPDATE ON TABLE sc(grade) TO user1
第4题:
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?()
第5题:
第6题:
Scott issues the SQL statements:CREATE TABLE dept(deptno NUMBER(2),dname VARCHAR2(14),loc VARCHAR2(13)};GRANT SELECTON DEPTT0 SUE;If Sue needs to select from Scott‘s DEPT table, which command should she use?()
A.SELECT*FROMDEPT;
B.SELECT*FROMSCOTT.DEPT;
C.SELECT*FROMDBASCOTTDEPT;
D.SELECT*FROMALL_USERSWHEREUSER_NAME=‘;SCOTT‘;ANDTABLENAME=‘;DEPT‘;;
第7题:
A.SELECT UNIQUE dept FROM staff
B.SELECT DISTINCT dept FROM staff
C.SELECT (dept) UNIQUE FROM staff
D.SELECT (dept) DISTINCT FROM staff
第8题:
A. GRANT select ON dept TO ALL_ USER;
B. GRANT select ON dept TO ALL;
C. GRANT QUERY ON dept TO ALL_USERS
D. GRANT select ON dept TO PUBLIC;
第9题:
Which of the following statements eliminates all but one of each set of duplicate rows in the DEPT column in the STAFF table?()
第10题:
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? ()