题目内容

以下哪条语句是错误的?()

A. SELECTempno,enamename,salsalaryFROMemp;
B. SELECTempno,enamename,salASsalaryFROMemp;
C. SELECTename,sal*12AS“AnnualSalary”FROMemp;
D. SELECTename,sal*12AnnualSalaryFROMemp;

查看答案
更多问题

某用户希望显示补助非空的所有雇员信息,应该使用哪条语句()

A. SELECTename,sal,commFROMempWHEREcomm.<>null;
B. SELECTename,sal,commFROMempWHEREcomm.ISNOTnull;
C. SELECTename,sal,commFROMempWHEREcomm.<>0;
D. SELECTename,sal,commFROMempWHEREcomm.ISNULL;

以下哪条语句是错误的?()

A. SELECTename,salsalaryFROMempORDERBYsal;
B. SELECTename,salsalaryFROMempORDERBYsalary;
C. SELECTename,salsalaryFROMempORDERBY3;
D. SELECTenameFROMempORDERBYsalDESC;

DEFINE命令可用于定义哪种变量?()

A. NUMBER
B. CHAR
C. VARCHAR2
DATE

以下哪条语句是正确的?()

A. SELECTdeptno,sum(sal)FROMemp;
B. SELECTdeptno,sum(sal)FROMempWHEREavg(sal)>2000GROUPBYdeptno;
C. SELECTdeptno,sum(sal)FROMempGROUPBYdeptnoHAVINGavg(sal)>2000;
D. SELECTdeptno,sum(sal)FROMempWHEREavg(sal)>2000ORDERBYdeptno;

答案查题题库