ocp考试资料群:569933648 验证码:ocp ocp 12c 19c考试题库解析与资料群:钉钉群号:35277291
全部博文(486)
分类: oracle
2019-12-16 15:04:35
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