你需要计算从2007年1月1日至今天的天数,日期的默认存储格式为dd-mon-rr。下列哪个SQL能得到正确的结果() A: SELEC B: SYSDATE-’01-JAN-2007’FROMDUAL; C: SELEC D: SYSDATE-TO_DATE(’01/JANUARY/2007’)FRO E: DUAL; F: SELEC G: SYSDATE-TO_DATE(’01-JANUARY-2007’)FRO H: DUAL; I: SELEC J: TO_CHAR(SYSDATE,’DD-MON-YYYY’)-’01-JAN-2007’FRO K: DUAL; L: SELEC M: TO_DATE(SYSDATE,’DD/MONTH/YYYY’)-’01/JANUARY/2007’FRO N: DUAL;
你需要计算从2007年1月1日至今天的天数,日期的默认存储格式为dd-mon-rr。下列哪个SQL能得到正确的结果() A: SELEC B: SYSDATE-’01-JAN-2007’FROMDUAL; C: SELEC D: SYSDATE-TO_DATE(’01/JANUARY/2007’)FRO E: DUAL; F: SELEC G: SYSDATE-TO_DATE(’01-JANUARY-2007’)FRO H: DUAL; I: SELEC J: TO_CHAR(SYSDATE,’DD-MON-YYYY’)-’01-JAN-2007’FRO K: DUAL; L: SELEC M: TO_DATE(SYSDATE,’DD/MONTH/YYYY’)-’01/JANUARY/2007’FRO N: DUAL;
如何显示今天是星期几(周一到周日,分别用1~7表示)() A: selectto_char(sysdate,'D')fromdual; B: selectto_char(sysdate,'W')fromdual; C: selectto_char(sysdate,'D')-1fromdual; D: selectto_char(sysdate-1,'D')fromdual; E: selectto_char(sysdate-1,'W')fromdual;
如何显示今天是星期几(周一到周日,分别用1~7表示)() A: selectto_char(sysdate,'D')fromdual; B: selectto_char(sysdate,'W')fromdual; C: selectto_char(sysdate,'D')-1fromdual; D: selectto_char(sysdate-1,'D')fromdual; E: selectto_char(sysdate-1,'W')fromdual;
CURRENT_TIMESTAMP(),SYSDATE(),NOW()这三个函数都可以获取当前的日期时间
CURRENT_TIMESTAMP(),SYSDATE(),NOW()这三个函数都可以获取当前的日期时间
The custom _______ the Middle Ages. A: date on B: date about C: date from D: date in
The custom _______ the Middle Ages. A: date on B: date about C: date from D: date in
查询十天前的记录应使用( )作为准则。 A: Between Date() And Date()-10 B: <Date()-10 C: >Date()-10 D: Between Date()-10 And Date()
查询十天前的记录应使用( )作为准则。 A: Between Date() And Date()-10 B: <Date()-10 C: >Date()-10 D: Between Date()-10 And Date()
In appraisals, the effective date of value is ( ). A: The date of the property inspection B: The date agreed in advance with the client C: The date the appraisal is completed D: The date the appraisal is signed
In appraisals, the effective date of value is ( ). A: The date of the property inspection B: The date agreed in advance with the client C: The date the appraisal is completed D: The date the appraisal is signed
查询最后30天的记录应使用( )作为准则。 A: Between Date() and Date()-30 B: <=Date()-30 C: <Date()-30 D: Between Date()-30 and Date()
查询最后30天的记录应使用( )作为准则。 A: Between Date() and Date()-30 B: <=Date()-30 C: <Date()-30 D: Between Date()-30 and Date()
Congratulations! This is the best book you have written __________. A: up to date B: out of date C: to date D: as date
Congratulations! This is the best book you have written __________. A: up to date B: out of date C: to date D: as date
下列能获取date命令结果的语句是( )。 A: $(date) B: `dae` C: (date) D: date'
下列能获取date命令结果的语句是( )。 A: $(date) B: `dae` C: (date) D: date'
如果想使用 date 命令输出当前的年份,以下( )命令可以正确执行。 A: date +%y B: date +%d C: date +%m D: date +%w
如果想使用 date 命令输出当前的年份,以下( )命令可以正确执行。 A: date +%y B: date +%d C: date +%m D: date +%w