试题详情
- 单项选择题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;
- A
关注下方微信公众号,在线模考后查看
热门试题
- The current
- You work
- Which is a valid CRE
- Given: Whatistheres
- 写出一个SQL语句,语句当中需要使用到“
- The EMPLOYEES table
- Examine the query an
- Which two tasks can
- 以下关于SQL的说法正确的是()
- You are w
- Which two̳
- In your p
- For which action can
- You need to change t
- 客户端用于网络连接的两个配置文件文件是(
- Which statemen
- Given: And Mai
- You used
- You are w
- Given: Whatistheres