一、原题
Which tasks can be performed using SQL functions built into Oracle Database ? (Choose three.)
A. displaying a date in a nondefault format.
B. finding the number of characters in an expression.
C. substituting a character string in a text expression with a specified string.
D. combining more than two columns or expressions into a single column in the output.
答案:ABC
二、题目翻译A. displaying a date in a nondefault format.
B. finding the number of characters in an expression.
C. substituting a character string in a text expression with a specified string.
D. combining more than two columns or expressions into a single column in the output.
答案:ABC
哪一个任务能使用ORACLE内置函数来完成?(选择三个)
A. 显示一个非默认格式的日期。
B. 在一个表达式中查找字符的数量。
C .使用指定的字符串来替换文本表达式中的字符串。
D. 联合超过两个列或表达式输出为一个列。
三、题目解析A. 显示一个非默认格式的日期。
B. 在一个表达式中查找字符的数量。
C .使用指定的字符串来替换文本表达式中的字符串。
D. 联合超过两个列或表达式输出为一个列。
A选项正确,例如:to_char()转换日期输出。
B选项正确,例如:length(),regexp_count()。
C选项正确,例如:replace()。
D选项不正确,因为没有能联合超过两个列的函数,CONCAT()只能联合两个列。
B选项正确,例如:length(),regexp_count()。
C选项正确,例如:replace()。
D选项不正确,因为没有能联合超过两个列的函数,CONCAT()只能联合两个列。