大家好,我是考100分的小小码 ,祝大家学习进步,加薪顺利呀。今天说一说【2019年8月】OCP 071认证考试最新版本的考试原题-第20题[通俗易懂],希望您对编程的造诣更进一步.
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 显示的处理方式就是以#号显示。)
版权声明:本文内容由互联网用户自发贡献,该文观点仅代表作者本人。本站仅提供信息存储空间服务,不拥有所有权,不承担相关法律责任。如发现本站有涉嫌侵权/违法违规的内容, 请发送邮件至 举报,一经查实,本站将立刻删除。
转载请注明出处: https://daima100.com/11177.html