单选题emp表是雇员信息表,sal字段存放是的雇员的月薪,以下哪个变量可以存放sal类型的值()Av_sal emp%rowtype;Bv_sal emp.sal%type;Cv_sal emp.sal.%type;Dv_sal %type(emp.sal);Ev_sal (emp.sal)%type;

单选题
emp表是雇员信息表,sal字段存放是的雇员的月薪,以下哪个变量可以存放sal类型的值()
A

v_sal emp%rowtype;

B

v_sal emp.sal%type;

C

v_sal emp.sal.%type;

D

v_sal %type(emp.sal);

E

v_sal (emp.sal)%type;


参考解析

解析: 暂无解析

相关考题:

在如下2个数据库表中,若雇员信息表EMP的主键是雇员号,部门信息表DEPT的主键是部门号。若执行所列出的操作,哪一项操作不能执行?A.从雇员信息表EMP中删除行('010','王宏达','01','1200')B.从雇员信息表EMP中插入行('102','赵敏','01','1500')C.将雇员信息表EMP中雇员号='010'的工资改为1600元D.将雇员信息表EMP中雇员号='010'的部门号改为'05'

在如下两个数据库的表中,若雇员信息表EMP的主键是雇员号,部门信息表DEPT的主键是部门号。若执行所列出的操作,哪一项操作不能执行?A.从雇员信息表EMP中删除行('010','王宏达','01','1200')B.从雇员信息表EMP中插入行('102','赵敏','01','1500')C.将雇员信息表EMP中雇员号='010'的工资改为1600元D.将雇员信息表EMP中雇员号='001'的部门号改为'05'

emp表是雇员信息表,sal字段存放是的雇员的月薪,以下哪个变量可以存放sal类型的值() A.v_sal emp%rowtype;B.v_sal emp.sal%type;C.v_sal emp.sal.%type;D.v_sal %type(emp.sal);E.v_sal (emp.sal)%type;

在PL/SQL中定义一个可以存放雇员表(EMP)的员工名称(ENAME)的PL/SQL表类型,应该() A.type array arr_type[emp.ename%type] index by binary_integer;B.type table arr_type[emp.ename%type] index by binary_integer;C.type arr_type is table of emp.ename%type index by binary_integer;D.type arr_type is pl_sql table of emp.ename%type index by binary_integer;

授予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表是雇员信息表,sal字段存放是的雇员的月薪,以下哪个变量可以存放sal类型的值()A、v_sal emp%rowtype;B、v_sal emp.sal%type;C、v_sal emp.sal.%type;D、v_sal %type(emp.sal);E、v_sal (emp.sal)%type;

在PL/SQL中定义一个可以存放雇员表(EMP)的员工名称(ENAME)的PL/SQL表类型,应该()A、type array arr_type[emp.ename%type] index by binary_integer;B、type table arr_type[emp.ename%type] index by binary_integer;C、type arr_type is table of emp.ename%type index by binary_integer;D、type arr_type is pl_sql table of emp.ename%type index by binary_integer;

以下定义变量和常量的方法正确的是()。A、v_enameVARCHAR2(10);B、v_sal,v_commNUMBER(6,2)C、v_salNUMBER(6,2)NOTNULL;D、c_taxCONSTANTNUMBER(6,2)DEFAULT0.17;E、%salNUMBER(6,2);F、v_commemp.Comm%TYPE

数据库中有一张表名为Emp,包含有如下列:EmpNO(雇员编号,Varchar(20),Pk),Job(职位Varchar(10)),HirDate(雇佣日期,Date),Sal(月薪,Float),Comm(奖金,Float,可为空)。查询出雇员编号不为791,792,793的雇员信息应该是用哪些数据查询?()A、Select * From Emp Where EmpNO Not In('791','792','793')B、Select * From Emp Where EmpNO !='791' AND EmpNO!='792' And EmpNO='793'C、Select * From Emp Where EmpNO '791' AND EmpNO792' And EmpNO=793'D、Select * From Emp Where EmpNO =!'791' AND EmpNO =!'792' And EmpNO =!'793'

数据库中有一张表名为Emp,包含有如下列:EmpNO(雇员编号,Varchar(20),Pk),Job(职位Varchar(10)),HirDate(雇佣日期,Date),Sal(月薪,Float)。要求查询全部雇员信息应该是哪些数据?()A、Select * From EmpB、Select * From Emp Where EmpNO Like '%%'C、Select * From Emp Where Name = '%%'D、Select * From Emp Where Name Like '%%'

数据库中有一张表名为Emp,包含有如下列:EmpNO(雇员编号,Varchar(20),Pk),Job(职位Varchar(10)),HirDate(雇佣日期,Date),Sal(月薪,Float)。查询出职位不为“办事员”的雇员信息是()A、Select *From Emp Where Job="办事员"B、Select* From Emp Where Job==’办事员’C、Select* From Emp Where Job’办事员’D、Select* From Emp Where Job!=’办事员’

数据库中有一张表名为Emp,包含有如下列:EmpNO(雇员编号,Varchar(20),Pk),Job(职位Varchar(10)),HirDate(雇佣日期,Date),Sal(月薪,Float),Comm(奖金,Float,可为空)。查询出雇员编号为791,792,793的雇员信息是()A、Select * From Emp Where EmpNO In('791','792','793')B、Select * From Emp Where EmpNO ='791' Or EmpNO='792' OR EmpNO='793'C、Select * From Emp Where EmpNO ='791' And EmpNO='793'D、Select * From Emp Where EmpNO '791' And EmpNO'793'

对于雇员表(EMP)中的员工薪水(SAL)进行分级,3000元以上的为A级,2000元以上到3000元为B级,2000元及以下为C级,以下哪此操作能实现以上要求()A、select sal,decode(sal3000,'A',sal2000,'B','C') grade from emp;B、select sal,decode(sal,3000,'A',2000,'B','C') grade from emp;C、select sal,(case when sal3000 then 'A' when sal2000 then 'B' else 'C' end) grade from emp;D、select sal,(if sal3000 then 'A' elsif sal2000 then 'B' else 'C' end if) grade from emp;

授予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

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?()A、Data is redacted for the EMP.SAL column only if the SCOTT session does not have the MGR role set.B、Data is redacted for EMP.SAL column only if the SCOTT session has the MGR role set.C、Data is never redacted for the EMP_V.SAL column.D、Data is redacted for the EMP_V.SAL column only if the SCOTT session has the MGR role set.E、Data is redacted for the EMP_V.SAL column only if the SCOTT session does not have the MGR role set.

emp表是雇员信息表,以下哪个变量可以存放emp表中的一条记录()A、v_record emp%type;B、v_record emp%recordtype;C、v_record emp%record_type;D、v_record emp%rowtype;E、v_record emp%row_type;

如何将变量v_row定义为emp表的记录类型()A、v_row emp%type;B、v_row emp%record;C、v_row emp%tabletype;D、v_row emp%rowtype;

单选题对于雇员表(EMP)中的员工薪水(SAL)进行分级,3000元以上的为A级,2000元以上到3000元为B级,2000元及以下为C级,以下哪此操作能实现以上要求()Aselect sal,decode(sal3000,'A',sal2000,'B','C') grade from emp;Bselect sal,decode(sal,3000,'A',2000,'B','C') grade from emp;Cselect sal,(case when sal3000 then 'A' when sal2000 then 'B' else 'C' end) grade from emp;Dselect sal,(if sal3000 then 'A' elsif sal2000 then 'B' else 'C' end if) grade from emp;

多选题数据库中有一张表名为Emp,包含有如下列:EmpNO(雇员编号,Varchar(20),Pk),Job(职位Varchar(10)),HirDate(雇佣日期,Date),Sal(月薪,Float),Comm(奖金,Float,可为空)。查询出雇员编号不为791,792,793的雇员信息应该是用哪些数据查询?()ASelect * From Emp Where EmpNO Not In('791','792','793')BSelect * From Emp Where EmpNO !='791' AND EmpNO!='792' And EmpNO='793'CSelect * From Emp Where EmpNO '791' AND EmpNO792' And EmpNO=793'DSelect * From Emp Where EmpNO =!'791' AND EmpNO =!'792' And EmpNO =!'793'

多选题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?()AData is redacted for the EMP.SAL column only if the SCOTT session does not have the MGR role set.BData is redacted for EMP.SAL column only if the SCOTT session has the MGR role set.CData is never redacted for the EMP_V.SAL column.DData is redacted for the EMP_V.SAL column only if the SCOTT session has the MGR role set.EData is redacted for the EMP_V.SAL column only if the SCOTT session does not have the MGR role set.

多选题数据库中有一张表名为Emp,包含有如下列:EmpNO(雇员编号,Varchar(20),Pk),Job(职位Varchar(10)),HirDate(雇佣日期,Date),Sal(月薪,Float),Comm(奖金,Float,可为空)。查询出雇员编号为791,792,793的雇员信息是()ASelect * From Emp Where EmpNO In('791','792','793')BSelect * From Emp Where EmpNO ='791' Or EmpNO='792' OR EmpNO='793'CSelect * From Emp Where EmpNO ='791' And EmpNO='793'DSelect * From Emp Where EmpNO '791' And EmpNO'793'

多选题数据库中有一张表名为Emp,包含有如下列:EmpNO(雇员编号,Varchar(20),Pk),Job(职位Varchar(10)),HirDate(雇佣日期,Date),Sal(月薪,Float)。要求查询全部雇员信息应该是哪些数据?()ASelect * From EmpBSelect * From Emp Where EmpNO Like '%%'CSelect * From Emp Where Name = '%%'DSelect * From Emp Where Name Like '%%'

单选题授予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

单选题在PL/SQL中定义一个可以存放雇员表(EMP)的员工名称(ENAME)的PL/SQL表类型,应该()Atype array arr_type[emp.ename%type] index by binary_integer;Btype table arr_type[emp.ename%type] index by binary_integer;Ctype arr_type is table of emp.ename%type index by binary_integer;Dtype arr_type is pl_sql table of emp.ename%type index by binary_integer;

单选题emp表是雇员信息表,以下哪个变量可以存放emp表中的一条记录()Av_record emp%type;Bv_record emp%recordtype;Cv_record emp%record_type;Dv_record emp%rowtype;Ev_record emp%row_type;

单选题如何将变量v_row定义为emp表的记录类型()Av_row emp%type;Bv_row emp%record;Cv_row emp%tabletype;Dv_row emp%rowtype;

单选题emp表是雇员信息表,sal字段存放是的雇员的月薪,以下哪个变量可以存放sal类型的值()Av_sal emp%rowtype;Bv_sal emp.sal%type;Cv_sal emp.sal.%type;Dv_sal %type(emp.sal);Ev_sal (emp.sal)%type;

多选题数据库中有一张表名为Emp,包含有如下列:EmpNO(雇员编号,Varchar(20),Pk),Job(职位Varchar(10)),HirDate(雇佣日期,Date),Sal(月薪,Float)。查询出职位不为“办事员”的雇员信息是()ASelect *From Emp Where Job=办事员BSelect* From Emp Where Job==’办事员’CSelect* From Emp Where Job’办事员’DSelect* From Emp Where Job!=’办事员’