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只能截取开始或者结尾的单个字符
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只能截取开始或者结尾的单个字符
相关文章推荐
- Js获取当前日期时间及其它操作
- [Error] - Windows卸载程序时,提示错误2503
- 入门训练 Fibonacci数列
- 企业级zabbix监控服务部署
- 第四届蓝桥杯 高斯日记
- 如何理解线程
- 如何让Window批处理文件可以支持带有空格的路径
- ios 小问题,滑动tableview,导航出去,再回来会保持原样,但我想自动保持顶部
- CRITICAL_SECTION //critical_section
- Lock与synchronized 的区别
- leetcode-88-Merge Sorted Array
- px、pt、in、dp、dpi
- c# 通过反射调用类的构造函数
- 面试题总结3
- 支付宝支付相关问题汇总
- 获取文件中汉字个数
- Servlet生命周期--学习笔记
- ssh (MVC软件开发模式)
- View滑动动画的选择及其left, marginLeft, translationX参数的总结
- 获取文件中汉字个数