单选题在Oracle中发出的下列查询:select months_between(‘15-MAR-83’,‘15-MAR-97’)form dual;返回的结果是()。A14B-14C168D-168
单选题
在Oracle中发出的下列查询:select months_between(‘15-MAR-83’,‘15-MAR-97’)form dual;返回的结果是()。
A
14
B
-14
C
168
D
-168
参考解析
解析:
暂无解析
相关考题:
显示本月月末的日期() A.select last_date(sysdate) from dual;B.select finally_day(sysdate) from dual;C.select last_day(sysdate) from dual;D.select tail_day(sysdate) from dual;
查询C:\ZG\ZGDA.DBF表中的编号、姓名、工资字段的数据,并将查询结果保存到C:\ZG\ DA.DBFGE表,正确的命令是______。A.SELECT编号,姓名,工资FORM. C:\ZG\ZGDA INTO DBF C:\ZG\DAB.SELECT编号,姓名,工资FORM. C:\ZG\ZGDA INTO DBFDA.DBFC.SELECT编号,姓名,工资FORM. C:\ZG\ZGDA TO DBF C:\ZG\DAD.SELECT编号,姓名,工资FORM. C:\ZG\ZGDA INTO CURSOR C:\ZG\DA
V5.x系统中,查询动环网管数据库中端局编号为102的端局名的SQL语句是()A、selct*from office where officeid=102B、select*form office where officeid=102C、select*form office where office_id=102D、select*from office where office_id=102
你要操纵Oracle数据,下列哪个不是SQL命令?()A、select*from dual;B、set defineC、update emp set ename=6543where ename=‘SMITHERS’;D、create table employees(empid varchar2(10)primary key);
在Oracle中,有一个名为seq的序列对象,以下语句能返回序列值但不会引起序列值增加的是()A、select seq.ROWNUM from dualB、select seq.ROWID from dualC、select seq.CURRVAL from dualD、select seq.NEXTVAL from dual
评估以下SELECT语句: SELECT SYSDATE+30 FROM dual; 该查询将返回哪个值?()A、当前日期加30小时B、当前日期加30天C、当前日期加30个月D、不会返回任何值,因为SELECT语句会产生错误
当需要查询Oracle的控制文件的名称、位置和状态时,可以使用()语句。A、SELECT name FROM V$CONTROLFILEB、SELECT name FROM V$CTRLLFILEC、SELECT name FROM V$USERFILESD、SELECT name FROM V$DBAFILE
显示本月月末的日期()A、select last_date(sysdate) from dual;B、select finally_day(sysdate) from dual;C、select last_day(sysdate) from dual;D、select tail_day(sysdate) from dual;
Which three SELECT statements displays 2000 in the format “$2,000.00”?()A、SELECT TO CNAR(2000, ‘$#,###.##’) FROM dual;B、SELECT TO CNAR(2000, ‘$0,000.00’) FROM dual;C、SELECT TO CNAR(2000, ‘$9,999.00’) FROM dual;D、SELECT TO CNAR(2000, ‘$9,999.99’) FROM dual;E、SELECT TO CNAR(2000, ‘$2,000.00’) FROM dual;F、SELECT TO CNAR(2000, ‘$N,NNN.NN’) FROM dual;
Which SELECT statement should you use to extract the year from the system date and display it in the format "1998"?()A、SELECT TO_CHAR(SYSDATE,'yyyy') FROM dual;B、SELECT TO_DATE(SYSDATE,'yyyy') FROM dual;C、SELECT DECODE(SUBSTR(SYSDATE, 8), 'YYYY') FROM dual;D、SELECT DECODE(SUBSTR(SYSDATE, 8), 'year') FROM dual;E、SELECT TO_CHAR(SUBSTR(SYSDATE, 8,2),'yyyy') FROM dual;
Which three SELECT statements display 2000 in the format "$2,000.00"? ()A、SELECT TO_CHAR(2000, '$#,###.##') FROM dual;B、SELECT TO_CHAR(2000, '$0,000.00') FROM dual;C、SELECT TO_CHAR(2000, '$9,999.00') FROM dual;D、SELECT TO_CHAR(2000, '$9,999.99') FROM dual;E、SELECT TO_CHAR(2000, '$2,000.00') FROM dual;F、SELECT TO_CHAR(2000, '$N,NNN.NN') FROM dual;
如何显示今天是星期几(周一到周日,分别用1~7表示)()A、select to_char(sysdate,'D') from dual;B、select to_char(sysdate,'W') from dual;C、select to_char(sysdate,'D')-1 from dual;D、select to_char(sysdate-1,'D') from dual;E、select to_char(sysdate-1,'W') from dual;
查询出当前的数据库系统时间,精确到秒()A、select to_date(sysdate,'YYYY-MM-DD HH24:MI:SS') from dual;B、select to_char(sysdate,'YYYY-MM-DD HH24:MI:SS') from dual;C、select date(sysdate,'YYYY-MM-DD HH24:MI:SS') from dual;D、select chr(sysdate,'YYYY-MM-DD HH24:MI:SS') from dual;
You would like to display the system date in the format "Monday, 01 June, 2001".Which SELECT statement should you use?()A、SELECT TO_DATE(SYSDATE, 'FMDAY, DD Month, YYYY') FROM dual;B、SELECT TO_CHAR(SYSDATE, 'FMDD, DY Month, 'YYYY') FROM dual;C、SELECT TO_CHAR(SYSDATE, 'FMDay, DD Month, YYYY') FROM dual;D、SELECT TO_CHAR(SYSDATE, 'FMDY, DDD Month, YYYY') FROM dual;E、SELECT TO_DATE(SYSDATE, 'FMDY, DDD Month, YYYY') FROM dual;
在Oracle中发出的下列查询:select months_between(‘15-MAR-83’,‘15-MAR-97’)form dual;返回的结果是()。A、14B、-14C、168D、-168
单选题语句select ROUND(45.953,-1),TRUNC(45.936,2)from dual;的结果是()。A46 and 45B46 and 45.93C50 and 45.93D50 and 45.9
单选题在SELECT-SQL语句中,可以使用UNION子句将多个SELECT查询结果组合起来建立组合查询。关于组合查询,下列说法中错误的是()。A组合的多个SELECT命令的查询结果的列数必须相同B组合的多个SELECT命令的查询结果中的对应列必须有相同的数据类型和宽度C组合的多个SELECT命令,只有在最后的一个SELECT命令中可以包含ORDERBY子句D可以使用UNION子句来组合子查询
单选题在Oracle中发出的下列查询:select months_between(‘15-MAR-83’,‘15-MAR-97’)form dual;返回的结果是()。A14B-14C168D-168
单选题在ORACLE中,语句 select “test”||null from tableName, 结果是()A结果是testnullB结果是空C结果是NULLD结果是test