您的位置:首页 > 其它

79.View the Exhibit and examine the structure of the CUSTOMERS table. In the CUSTOMERS table, the CU

2016-03-02 18:12 274 查看
79.View the Exhibit and examine the structure of the CUSTOMERS table.

In the CUSTOMERS table, the CUST_LAST_NAME column contains the values 'Anderson' and 'Ausson'.

You issue the following query:

SQL> SELECT LOWER(REPLACE(TRIM('son' FROM cust_last_name),'An','O')) FROM CUSTOMERS

WHERE LOWER(cust_last_name) LIKE 'a%n';

What would be the outcome?

A.'Oder' and 'Aus'

B.an error because the TRIM function specified is not valid

C.an error because the LOWER function specified is not valid

D.an error because the REPLACE function specified is not valid

答案:B

解析:trim只能截取开始或者结尾的单个字符
内容来自用户分享和网络整理,不保证内容的准确性,如有侵权内容,可联系管理员处理 点击这里给我发消息
标签: