【2019年8月版】OCP 071认证考试原题-第40题「建议收藏」

【2019年8月版】OCP 071认证考试原题-第40题「建议收藏」Choose two. Which two statements are true about single row functions? A) CONCAT : can be used to co…

Choose two.

Which two statements are true about single row functions?

A) CONCAT : can be used to combine any number of values

B) MOD : returns the quotient of a division operation

C) CEIL : can be used for positive and negative numbers

D) FLOOR : returns the smallest integer greater than or equal to a specified number

E) TRUNC : can be used with NUMBER and DATE values

Answer::CE

(解析:concat 函数只能连接两个字符串或者两个列的值。

ceil 函数向上取整数。

floor 函数向下取整。)

SQL> select ceil(-500.1) from dual;

CEIL(-500.1)

————

-500

SQL> select ceil(-500.99999) from dual;

CEIL(-500.99999)

—————-

-500

SQL> select floor(-500.1) from dual;

FLOOR(-500.1)

————-

-501

版权声明:本文内容由互联网用户自发贡献,该文观点仅代表作者本人。本站仅提供信息存储空间服务,不拥有所有权,不承担相关法律责任。如发现本站有涉嫌侵权/违法违规的内容, 请发送邮件至 举报,一经查实,本站将立刻删除。
转载请注明出处: https://daima100.com/10467.html

(0)
上一篇 2022-12-27
下一篇 2022-12-27

相关推荐

发表回复

您的电子邮箱地址不会被公开。 必填项已用*标注