网友您好, 请在下方输入框内输入要搜索的题目:
题目内容
(请给出正确答案)
TheEMPtableexistsinyourschema.Youwanttoexecutethefollowingquery:SELECTename,salFROMempASOFTIMESTAMP(SYSTIMESTAMP-INTERVAL’6’MINUTE)WHEREename=’ALLEN’;Whataretheminimumrequirementsforthestatementtoexecutesuccessfully?()
A.ARCHIVELOGmodemustbeenabled
B.RowMovementmustbeenabledforthetable
C.FLASHBACKmustbesettoONforthedatabase
D.TheUNDO_MANAGEMENTparametermustbesettoAUTO
E.TheUNDO_RETENTIONparametermustbesetappropriately
参考答案
更多 “ TheEMPtableexistsinyourschema.Youwanttoexecutethefollowingquery:SELECTename,salFROMempASOFTIMESTAMP(SYSTIMESTAMP-INTERVAL’6’MINUTE)WHEREename=’ALLEN’;Whataretheminimumrequirementsforthestatementtoexecutesuccessfully?()A.ARCHIVELOGmodemustbeenabledB.RowMovementmustbeenabledforthetableC.FLASHBACKmustbesettoONforthedatabaseD.TheUNDO_MANAGEMENTparametermustbesettoAUTOE.TheUNDO_RETENTIONparametermustbesetappropriately ” 相关考题
考题
以下语句不正确的是( )A.select * from emp;B.select ename,hiredate,sal from emp;C.select * from emp order deptno;D.select * from where deptno=1 and sal
考题
职员关系模式为E(Eno,Ename,Dept,Eage,Eaddr)。其中,Eno表示职员号,Ename表示职员名,Dept表示职员所在部门,Eage表示年龄,Eaddr表示职员的家庭住址。建立“开发部”(DS表示开发部)职员的视图DS_E如下,要求进行修改、插入操作时保证该视图只有开发部的职员。CREATE VIEW DS_EAS SELECT Eno,Ename,Dept,Eage,EaddrFROM EWHERE(47);如下SQL语句可以查询开发部姓“王”职员的姓名和家庭住址。Select Ename, EaddrFrom DS_EWhere(48);A.Dept=DSB.Dept=DS WITH CHECK OPTIONC.Dept='DS'D.Dept='DS' WITH CHECK OPTION
考题
The EMP table exists in your schema. You want to execute the following query:SELECT ename, salFROM empAS OF TIMESTAMP (SYSTIMESTAMP - INTERVAL ‘6‘ MINUTE)WHERE ename = ‘ALLEN‘;What are the minimum requirements for the statement to execute successfully? ()A. ARCHIVELOG mode must be enabledB. Row Movement must be enabled for the tableC. FLASHBACK must be set to ON for the databaseD. The UNDO_MANAGEMENT parameter must be set to AUTOE. The UNDO_RETENTION parameter must be set appropriately
考题
Evaluate this SQL statement:SELECT ename, sal, 12* sal+100 FROM emp;The SAL column stores the monthly salary of the employee. Which change must be made to the abovesyntax to calculate the annual compensation as monthly salary plus a monthly bonus of $100, multiplied by 12? ()A. No change is required to achieve the desired results.B. SELECT ename, sal, 12* (sal+100) FROM emp;C. SELECT ename, sal, (12* sal)+100 FROM emp;D. SELECT ename, sal +100,*12 FROM emp;
考题
职员关系模式为E(Eno, Ename, Dept, Eage, Eaddr),其中Eno表示职员号,Ename表示职员名,Dept表示职员所在部门,Eage表示年龄,Eaddr表示职员的家庭住址。建立“开发部”(DS表示开发部)职员的视图DS_E如下,要求进行修改、插入操作时保证该视图只有开发部的职员。CREATE VIEW DS_EAS SELECT Eno, Ename, Dept, Eage, EaddrFROMWHERE (1)如下SQL语句可以查询开发部姓“王”职员的姓名和家庭住址。Select Ename, EaddrFrom DS_EWhere (2);A.Dept=DSB.Dept=DS WITH CHECK OPTIONC.Dept='DS'D.Dept='DS'S WITH CHECK OPTION
考题
职员关系模式为E(Eno,Ename,Dept,Eage,Eaddr),其中Eno表示职员号,Ename表示职员名,Dept表示职员所在部门,Eage表示年龄,Eaddr表示职员的家庭住址。建立“开发部”职员的视图DS_E(DS表示开发部)如下,要求进行修改、插入操作时保证该视图只有开发部的职员。CREATE VIEW DS_EAS SELECT Eno,Ename,Dept,Eage,EaddrFROM E WHERE (64)如下SQL语句可以查询开发部姓“王”职员的姓名和家庭住址。SelectEname,Eaddr From DS_E Where (65);A.Dept=DSB.Dept=DS WITH CHECK OPTIONC.Dept='DS'D.Dept='DS' WITH CHECK OPTION
考题
在Oracle中,下面哪条语句当COMM字段为空时显示0,不为空时显示COMM的值()。
A.select ename,nvl(comm.,0)from empB.select ename,null(comm.,0)from empC.SELECT ename,NULLIF(comm,0)FROM empD.SELECT ename,DECODE(comm.,NULL,0)FROM emp
考题
某企业人事管理系统中有如下关系模式,员工表EmpCenrcpename,age,sal,in属性分别表示员工号,员工姓名、年龄、工资和部门名称,部门表Dept(dnamephone),属性分别表示部门名称和联系电话。需要查询其它部门比销售部门(Sales)所有员工年龄都要小的员工姓名及年龄,对应的SQL语句如下:SELECT ename,age FROM EmpWHERE age(请作答此空)(SELECT age FROM EmpWHERE dname=’Sales’)AND( );A.小于ALL
B.小于ANY
C.IN
D.EXISTS
考题
某企业人事管理系统中有如下关系模式,员工表EmpCenrcpename,age,sal,in属性分别表示员工号,员工姓名、年龄、工资和部门名称,部门表Dept(dnamephone),属性分别表示部门名称和联系电话。需要查询其它部门比销售部门(Sales)所有员工年龄都要小的员工姓名及年龄,对应的SQL语句如下:SELECT ename,age FROM EmpWHERE age( )(SELECT age FROM EmpWHERE dname=’Sales’)AND(请作答此空);A.dname等于’Sales’
B.dname小于大于’Sales’
C.dname小于’Sales'
D.dname大于’Sales’
热门标签
最新试卷