You need to calculate the number of days from 1st January 2019 until today.
Dates are stored in the default format of DD-MON-RR
Which two queries give the required output?

欢迎免费使用小程序搜题/刷题/查看解析,提升学历,成考自考报名,论文代写、论文查重请加客服微信skr-web

You need to calculate the number of days from 1st January 2019 until today.
Dates are stored in the default format of DD-MON-RR
Which two queries give the required output?

A.SELECT ROUND(SYSDATE-TO DATE('01/JANUARY/2019))FROM DUAL
B.SELECT SYSDATE-TO DATE("01-JANUARY-2019')FROM DUAL;
C.SELECT ROUND(SYSDATE-'01-JAN-2019)FROM DUAL
D.SELECT TO DATE(SYSDATE, DD/MONTH/YYYY")-'01/JANUARY/2019' FROM DUALI
E.SELECT TO CHAR(SYSDATE, DD-MON-YYYY)-'01-JAN-2019' FROM DUAL;
正确答案AB
访客
邮箱
网址

通用的占位符缩略图

人工智能机器人,扫码免费帮你完成工作


  • 自动写文案
  • 自动写小说
  • 马上扫码让Ai帮你完成工作
通用的占位符缩略图

人工智能机器人,扫码免费帮你完成工作

  • 自动写论文
  • 自动写软件
  • 我不是人,但是我比人更聪明,我是强大的Ai
Top