前往小程序,Get更优阅读体验!
立即前往
首页
学习
活动
专区
工具
TVP
发布
社区首页 >专栏 >【2019年8月版】OCP 071认证考试原题-第40题

【2019年8月版】OCP 071认证考试原题-第40题

原创
作者头像
用户5892232
修改2019-12-16 18:22:23
5290
修改2019-12-16 18:22:23
举报

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

原创声明:本文系作者授权腾讯云开发者社区发表,未经许可,不得转载。

如有侵权,请联系 cloudcommunity@tencent.com 删除。

原创声明:本文系作者授权腾讯云开发者社区发表,未经许可,不得转载。

如有侵权,请联系 cloudcommunity@tencent.com 删除。

评论
登录后参与评论
0 条评论
热度
最新
推荐阅读
领券
问题归档专栏文章快讯文章归档关键词归档开发者手册归档开发者手册 Section 归档