试题详情
- 单项选择题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;
关注下方微信公众号,在线模考后查看

热门试题
- Examine the structu
- Which describes the
- Examine the data fr
- Examine the structu
- You need to design
- EvaluatethesetofSQLs
- The EMPLOYEES table
- When should you crea
- Which four are types
- Which statement adds
- Examinethestructures
- Examine the data in
- Examine the descrip
- Examine the structu
- Examinethedescriptio
- Examine the descrip
- Examinethedescriptio
- You define a multipl
- You need to perform
- What does the TRUNCA