【2019年8月】OCP 071认证考试最新版本的考试原题-第20题
2019-10-30 13:04
886 查看
Choose two
The PRODUCT_INFORMATION table has a UNIT_PRICE column of data type NUMBER(8, 2).
Evaluate this SQL statement:
SELECT TO_CHAR(unit_price,'$9,999') FROM Product_intormation;
Which two statements are true about the output?
A) A row whose UNIT_PRICE column contains the value 1023.99 will be displayed as $1,024.
B) A row whose UNIT_PRICE column contains the value 1023.99 will be displayed a5 $1,023.
C) A row whose UNIT_PRICE column contains the value 10235.99 will be displayed as $1,0236.
D) A row whose UNIT_PRICE column contains the value 10235.99 will be displayed as $1,023.
E) A row whose UNIT_PRICE column contains the value 10235.99 will be displayed as #####
Answer:AE
(解析:这道题以前出现过,Answer:A 有点出乎意外,居然四舍五入;位数不够 oracle 显示的处理方式就是以#号显示。)
相关文章推荐
- 【2019年8月版本】OCP 071认证考试最新版本的考试原题-第6题
- 【2019年8月版本】OCP 071认证考试最新版本的考试原题-第10题
- 【2019年8月版本】OCP 071认证考试最新版本的考试原题-第11题
- 【2019年8月版本】OCP 071认证考试最新版本的考试原题-第3题
- 【2019年8月】OCP 071认证考试最新版本的考试原题-第18题
- 【2019年8月版本】OCP 071认证考试最新版本的考试原题-第8题
- 【2019年8月】OCP 071认证考试最新版本的考试原题-第19题
- 【2019年8月版本】OCP 071认证考试最新版本的考试原题-第9题
- OCP 12c最新考试原题及答案(071-4)
- OCP认证11g 052考试最新题库带答案-38题
- 【OCP-12c】CUUG最新考试原题整理及答案(071-12)
- 最新Oracle 11g OCA/OCP/OCM 认证考试体系和认证途径
- OCP 12c最新考试原题及答案(071-7)
- 【OCP-12c】CUUG最新考试原题整理及答案(071-9)
- OCP认证052考试最新题库及答案整理-25
- OCP 12c最新考试原题及答案(071-5)
- OCP 12c最新考试原题及答案(071-8)
- OCP 12c最新考试原题及答案(071-6)
- Oracle ocp 12c-071最新考试题库及答案-1
- OCP认证052考试最新考试题整理-33