v_sal emp%rowtype;
v_sal emp.sal%type;
v_sal emp.sal.%type;
v_sal %type(emp.sal);
v_sal (emp.sal)%type;
第1题:
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
第2题:
在PL/SQL中定义一个可以存放雇员表(EMP)的员工名称(ENAME)的PL/SQL表类型,应该()
第3题:
数据库中有一张表名为Emp,包含有如下列:EmpNO(雇员编号,Varchar(20),Pk),Job(职位Varchar(10)),HirDate(雇佣日期,Date),Sal(月薪,Float),Comm(奖金,Float,可为空)。查询出雇员编号不为791,792,793的雇员信息应该是用哪些数据查询?()
第4题:
数据库中有一张表名为Emp,包含有如下列:EmpNO(雇员编号,Varchar(20),Pk),Job(职位Varchar(10)),HirDate(雇佣日期,Date),Sal(月薪,Float)。查询出职位不为“办事员”的雇员信息是()
第5题:
对于雇员表(EMP)中的员工薪水(SAL)进行分级,3000元以上的为A级,2000元以上到3000元为B级,2000元及以下为C级,以下哪此操作能实现以上要求()
第6题:
You execute the following piece of code with appropriate privileges: User SCOTT has been granted theCREATE SESSION privilege and the MGR role.Which two statements are true when a session logged in as SCOTT queries the SAL column in the viewand the table?()
第7题:
如何将变量v_row定义为emp表的记录类型()
第8题:
Select * From Emp Where EmpNO Not In('791','792','793')
Select * From Emp Where EmpNO !='791' AND EmpNO!='792' And EmpNO='793'
Select * From Emp Where EmpNO <>'791' AND EmpNO<>792' And EmpNO=<>793'
Select * From Emp Where EmpNO =!'791' AND EmpNO =!'792' And EmpNO =!'793'
第9题:
Select * From Emp Where EmpNO In('791','792','793')
Select * From Emp Where EmpNO ='791' Or EmpNO='792' OR EmpNO='793'
Select * From Emp Where EmpNO >='791' And EmpNO<='793'
Select * From Emp Where EmpNO >'791' And EmpNO<'793'
第10题:
GRANT CHANGE ON SCOTT.EMP TO SA
GRANT UPDATE ON SCOTT.EMP(SAL) TO SA
GRANT UPDATE (SAL) ON SCOTT.EMP TO SA
GRANT MODIFY ON SCOTT.EMP(SAL) TO SA
第11题:
v_record emp%type;
v_record emp%recordtype;
v_record emp%record_type;
v_record emp%rowtype;
v_record emp%row_type;
第12题:
v_sal emp%rowtype;
v_sal emp.sal%type;
v_sal emp.sal.%type;
v_sal %type(emp.sal);
v_sal (emp.sal)%type;
第13题:
emp表是雇员信息表,sal字段存放是的雇员的月薪,以下哪个变量可以存放sal类型的值()
第14题:
以下定义变量和常量的方法正确的是()。
第15题:
数据库中有一张表名为Emp,包含有如下列:EmpNO(雇员编号,Varchar(20),Pk),Job(职位Varchar(10)),HirDate(雇佣日期,Date),Sal(月薪,Float)。要求查询全部雇员信息应该是哪些数据?()
第16题:
数据库中有一张表名为Emp,包含有如下列:EmpNO(雇员编号,Varchar(20),Pk),Job(职位Varchar(10)),HirDate(雇佣日期,Date),Sal(月薪,Float),Comm(奖金,Float,可为空)。查询出雇员编号为791,792,793的雇员信息是()
第17题:
授予sa用户在SCOTT.EMP表中SAL列的更新权限的语句是()。
第18题:
emp表是雇员信息表,以下哪个变量可以存放emp表中的一条记录()
第19题:
select sal,decode(sal>3000,'A',sal>2000,'B','C') grade from emp;
select sal,decode(sal,3000,'A',2000,'B','C') grade from emp;
select sal,(case when sal>3000 then 'A' when sal>2000 then 'B' else 'C' end) grade from emp;
select sal,(if sal>3000 then 'A' elsif sal>2000 then 'B' else 'C' end if) grade from emp;
第20题:
Data is redacted for the EMP.SAL column only if the SCOTT session does not have the MGR role set.
Data is redacted for EMP.SAL column only if the SCOTT session has the MGR role set.
Data is never redacted for the EMP_V.SAL column.
Data is redacted for the EMP_V.SAL column only if the SCOTT session has the MGR role set.
Data is redacted for the EMP_V.SAL column only if the SCOTT session does not have the MGR role set.
第21题:
Select * From Emp
Select * From Emp Where EmpNO Like '%%'
Select * From Emp Where Name = '%%'
Select * From Emp Where Name Like '%%'
第22题:
type array arr_type[emp.ename%type] index by binary_integer;
type table arr_type[emp.ename%type] index by binary_integer;
type arr_type is table of emp.ename%type index by binary_integer;
type arr_type is pl_sql table of emp.ename%type index by binary_integer;
第23题:
v_row emp%type;
v_row emp%record;
v_row emp%tabletype;
v_row emp%rowtype;
第24题:
Select *From Emp Where Job>=办事员
Select* From Emp Where Job==’办事员’
Select* From Emp Where Job<>’办事员’
Select* From Emp Where Job!=’办事员’