单选题授予sa用户在SCOTT.EMP表中SAL列的更新权限的语句是()。AGRANT CHANGE ON SCOTT.EMP TO SABGRANT UPDATE ON SCOTT.EMP(SAL) TO SACGRANT UPDATE (SAL) ON SCOTT.EMP TO SADGRANT MODIFY ON SCOTT.EMP(SAL) TO SA
单选题
授予sa用户在SCOTT.EMP表中SAL列的更新权限的语句是()。
A
GRANT CHANGE ON SCOTT.EMP TO SA
B
GRANT UPDATE ON SCOTT.EMP(SAL) TO SA
C
GRANT UPDATE (SAL) ON SCOTT.EMP TO SA
D
GRANT MODIFY ON SCOTT.EMP(SAL) TO SA
参考解析
解析:
暂无解析
相关考题:
( 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
“把查询SC表和更新SC表的9rade列的权限受予用户userl”的正确SQL语句是( )。A) GRANT SELECT, UPDATE (grade) ON TABLE sc TO userlB) GRANT SELECT so,UPDATE sc,grade TO userlC) GRANT SELECT, UPDATE ON TABLE sc.grade TO userlD) GRANT SELECT ON TABLE sc, UPDATE ON TABLE sc (grade)TO userl
“把查询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
Examine the structure of the EMPLOYEES table:EMPLOYEE_ID NUMBER NOT NULLEMP_NAME VARCHAR2(30)JOB_ID VARCHAR2(20) DEFAULT ‘SA_REP‘SAL NUMBERCOMM_PCT NUMBERMGR_ID NUMBERDEPARTMENT_ID NUMBERYou need to update the records of employees 103 and 115. The UPDATE statement you specify should update the rows with the values specified below:JOB_ID: Default value specified for this column definition.SAL: Maximum salary earned for the job ID SA_REP.COMM_PCT: Default value specified for this commission percentage column, if any. If no default value is specified for the column, the value should be NULL. DEPARTMENT_ID: Supplied by the user during run time through substitution variable.Which UPDATE statement meets the requirements?()A. UPDATE employees SET job_id = DEFAULT AND Sal = (SELECT MAX(sal) FROM employees WHERE job_id = ‘SA_REP‘) AND comm_pct = DEFAULT AND department_id = did WHERE employee _id IN (103,115);B. UPDATE employees SET job_id = DEFAULT AND Sal = MAX(sal) AND comm_pct = DEFAULT OR NULL AND department_id = did WHERE employee_id IN (103,115) AND job _ id = ‘SA_ REP‘;C. UPDATE employees SET job_id = DEFAULT, Sal = (SELECT MAX(sal) FROM employees WHERE job_id = ‘SA_REP‘), comm_pct = DEFAULT, department_id = did WHERE employee_id IN (103,115);D. UPDATE employees SET job_id = DEFAULT, Sal = MAX(sal), comm_pct = DEFAULT, department_id = did WHERE employee_id IN (103,115) AND job _ id = ‘SA_ REP‘;E. UPDATE employees SET job_id = DEFAULT, Sal = (SELECT MAX(sal) FROM employees WHERE job_id = ‘SA_REP‘) comm_pct = DEFAULT OR NULL, department_id = did WHERE employee_id IN (103,115);
授予用户U1,U2和U3在关系employee的salary属性上的UPDATE权限的语句是A.GRANT ON employee TOU1,U2,U3B.GRANT UPDATE ON employee TO U1,U2,U3C.GRANT UPDATE(salary) ON employeeD.GRANT UPDATE(salary)ON employee TO U1,U2,U3
“把查询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
●将表employee中name列的修改权限赋予用户Liu,并允许其将该权限授予他人,应使用的SQL语句为:GRANT (52) ON TABLE employee TO Liu (53) ;(52)A.UPDATE(name)B.DELETEC.SELECTD.INSERT(53)A.FORALLB.CASCADEC. WITH GRANT OPTIOND.WITH CHECK OPTION
要将部门表Dept中name列的修改权限赋予用户Ming,并允许Ming将该权限授予他人。实现该要求的SQL语句如下:GRANT UPDATE(name) ON TABLE Dept TO Ming ( ): A.FOR ALLB.CASCADEC.WITH GRANT OPTIOND.WITH CHECK OPTION
授予sa用户在SCOTT.EMP表中SAL列的更新权限的语句是()。 A.GRANT CHANGE ON SCOTT.EMP TO SAB.GRANT UPDATE ON SCOTT.EMP(SAL) TO SAC.GRANT UPDATE (SAL) ON SCOTT.EMP TO SAD.GRANT MODIFY ON SCOTT.EMP(SAL) TO SA
● 将表Emp的empname属性列的修改权限授予用户LIU, 并允许LIU 再将此权限转授其他人,实现的SQL语句是 (48) 。(48)A. GRANT update on Emp TO LIU WITH CHECK OPTIONB. GRANT update(empname) on Emp TO LIU WITH CHECK OPTIONC. GRANT update on Emp TO LIU WITH GRANT OPTIOND. GRANT update(empname) on Emp TO LIU WITH GRANT OPTION
以下查询语句合法的是哪三项?() A.selectempno ,sum(sal) from scott.emp group by deptnoB.select*fromscott.empC.selectsum(sal)fromscott.empgroupbydeptnoD.selectcount(empno) from scott.emp
您需要授予用户BOB对“雇员”表的SELECT权限。您希望允许BOB将此权限授予其他用户。应使用以下哪条语句()A、GRANT SELECT ON雇员TO bob WITH GRANT OPTIONB、GRANT SELECT ON雇员TO PUBLIC WITH GRANT OPTIONC、GRANT SELECT ON雇员TO bobD、GRANT SELECT ON雇员TO bob WITH AD MIN OPTION
把对关系SPJ的属性QTY的修改权授予用户李勇的T-SQL语句是()A、GRANT QTY ON SPJ TO '李勇'B、GRANT UPDATE(QTY) ON SPJ TO '李勇'C、GRANT UPDATE (QTY) ON SPJ TO 李勇D、GRANT UPDATE ON SPJ (QTY) TO 李勇
下面哪些SQL命令向名为ACCTSUPER的用户授予系统权限()A、GRANT INSERT ON emp TO acctsuperB、GRANT CREATE TABLE TO acctsuperC、GRANT SELECT ON emp TO acctsuperD、GRANT UPDATE ANY TABLE TO acctsuperE、GRANT CREATE SESSION TO acctsuper
把对关系SC的属性GRADE的修改权授予用户ZHAO的SQL语句是 ()A、GRANT GRADE ON SC TO ZHAOB、GRANT UPDATE ON SC TO ZHAOC、GRANT UPDATE (GRADE) ON SC TO ZHAOD、GRANT UPDATE ON SC (GRADE) TO ZHAO
已知关系SPJ(S#,P#,J#,QTY),把对关系SPJ的属性QTY的修改权授予用户张三的T-SQL语句是()A、GRANT QTY ON SPJ TO张三B、GRANT UPDATE ON SPJ TO张三C、GRANT UPDATE(QTY) ON SPJ TO张三D、GRANT UPDATE ON SPJ(QTY) TO张三
You are shrinking the SCOTT.EMP table by executing the ALTER TABLE SCOTT.EMP SHRINK SPACE CASCADE statement. What is a prerequisite for shrinking the SCOTT.EMP table?()A、 You must enable the block change tracking feature.B、 You must have enable the flashback feature.C、 You must use the OMF in your database.D、 You must define the tablespace of the SCOTT.EMP table for automatic segment space management.
授予sa用户在SCOTT.EMP表中SAL列的更新权限的语句是()。A、GRANT CHANGE ON SCOTT.EMP TO SAB、GRANT UPDATE ON SCOTT.EMP(SAL) TO SAC、GRANT UPDATE (SAL) ON SCOTT.EMP TO SAD、GRANT MODIFY ON SCOTT.EMP(SAL) TO SA
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?()A、HR can grant the privilege to JIM but without GRANT OPTION.B、HR can grant the privilege to JIM because HR is the owner of the view.C、SCOTT has to grant the SELECT privilege on the EMP table to JIM before this operation.D、HR needs the SELECT privilege on the EMP table with GRANT OPTION from SCOTT for this operation.
Examine the structure of the EMPLOYEES table: EMPLOYEE_ID NUMBER NOT NULL EMP_NAME VARCHAR2(30) JOB_ID VARCHAR2(20) DEFAULT 'SA_REP' SAL NUMBER COMM_PCT NUMBER MGR_ID NUMBER DEPARTMENT_ID NUMBER You need to update the records of employees 103 and 115. The UPDATE statement you specify should update the rows with the values specified below: JOB_ID: Default value specified for this column definition. SAL: Maximum salary earned for the job ID SA_REP. COMM_PCT: Default value specified for this commission percentage column, if any. If no default value is specified for the column, the value should be NULL. DEPARTMENT_ID: Supplied by the user during run time through substitution variable. Which UPDATE statement meets the requirements?()A、UPDATE employees SET job_id = DEFAULT AND Sal = (SELECT MAX(sal) FROM employees WHERE job_id = 'SA_REP') AND comm_pct = DEFAULT AND department_id = did WHERE employee_id IN (103,115);B、UPDATE employees SET job_id = DEFAULT AND Sal = MAX(sal) AND comm_pct = DEFAULT OR NULL AND department_id = did WHERE employee_id IN (103,115) AND job_id = 'SA_REP';C、UPDATE employeesC.UPDATE employees SET job_id = DEFAULT, Sal = (SELECT MAX(sal) FROM employees WHERE job_id = 'SA_REP'), comm_pct = DEFAULT, department_id = did WHERE employee_id IN (103,115);D、UPDATE employeesD.UPDATE employees SET job_id = DEFAULT, Sal = MAX(sal), comm_pct = DEFAULT, department_id = did WHERE employee_id IN (103,115) AND job_id = 'SA_REP';E、UPDATE employees SET job_id = DEFAULT, Sal = (SELECT MAX(sal) FROM employees WHERE job_id = 'SA_REP'), comm_pct = DEFAULT OR NULL, department_id = did WHERE employee_id IN (103,115);
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;
Examine the structure of the EMPLOYEES table: EMPLOYEE_ID NUMBER NOT NULL EMP_NAME VARCHAR2(30) JOB_ID VARCHAR2(20) DEFAULT 'SA_REP' SAL NUMBER COMM_PCT NUMBER MGR_ID NUMBER DEPARTMENT_ID NUMBER You need to update the records of employees 103 and 115. The UPDATE statement you specify should update the rows with the values specified below: JOB_ID: Default value specified for this column definition. SAL: Maximum salary earned for the job ID SA_REP. COMM_PCT: Default value specified for this commission percentage column, if any. If no default value is specified for the column, the value should be NULL. DEPARTMENT_ID: Supplied by the user during run time through substitution variable. Which UPDATE statement meets the requirements?()A、UPDATE employees SET job_id = DEFAULT AND Sal = (SELECT MAX(sal) FROM employees WHERE job_id = 'SA_REP') AND comm_pct = DEFAULT AND department_id = did WHERE employee _id IN (103,115);B、UPDATE employees SET job_id = DEFAULT AND Sal = MAX(sal) AND comm_pct = DEFAULT OR NULL AND department_id = did WHERE employee_id IN (103,115) AND job _ id = 'SA_ REP';C、UPDATE employees SET job_id = DEFAULT, Sal = (SELECT MAX(sal) FROM employees WHERE job_id = 'SA_REP'), comm_pct = DEFAULT, department_id = did WHERE employee_id IN (103,115);D、UPDATE employees SET job_id = DEFAULT, Sal = MAX(sal), comm_pct = DEFAULT, department_id = did WHERE employee_id IN (103,115) AND job _ id = 'SA_ REP';E、UPDATE employees SET job_id = DEFAULT, Sal = (SELECT MAX(sal) FROM employees WHERE job_id = 'SA_REP') comm_pct = DEFAULT OR NULL, department_id = did WHERE employee_id IN (103,115);
单选题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?()AHR can grant the privilege to JIM but without GRANT OPTION.BHR can grant the privilege to JIM because HR is the owner of the view.CSCOTT has to grant the SELECT privilege on the EMP table to JIM before this operation.DHR needs the SELECT privilege on the EMP table with GRANT OPTION from SCOTT for this operation.
单选题You are shrinking the SCOTT.EMP table by executing the ALTER TABLE SCOTT.EMP SHRINK SPACE CASCADE statement. What is a prerequisite for shrinking the SCOTT.EMP table?()A You must enable the block change tracking feature.B You must have enable the flashback feature.C You must use the OMF in your database.D You must define the tablespace of the SCOTT.EMP table for automatic segment space management.