77.In the CUSTOMERS table, the CUST_CITY column contains the value 'Paris' for the
2016-03-02 17:07
453 查看
77.In the CUSTOMERS table, the CUST_CITY column contains the value 'Paris' for the
CUST_FIRST_NAME 'ABIGAIL'.
Evaluate the following query:
SQL> SELECT INITCAP(cust_first_name||' '||UPPER(SUBSTR(cust_city,-LENGTH(cust_city),2)))
FROM customers WHERE cust_first_name = 'ABIGAIL';
What would be the outcome?
A.Abigail PA
B.Abigail Pa
C.Abigail IS
D.an error message
答案:B
解析:最外层INITCAP函数,它是首字母大写,排除ACD
CUST_FIRST_NAME 'ABIGAIL'.
Evaluate the following query:
SQL> SELECT INITCAP(cust_first_name||' '||UPPER(SUBSTR(cust_city,-LENGTH(cust_city),2)))
FROM customers WHERE cust_first_name = 'ABIGAIL';
What would be the outcome?
A.Abigail PA
B.Abigail Pa
C.Abigail IS
D.an error message
答案:B
解析:最外层INITCAP函数,它是首字母大写,排除ACD
相关文章推荐
- (Educational Codeforces Round 9)Longest Subsequence(dp)
- android开发我的新浪微博客户端-载入页面UI篇(1.1)
- Ant之build.xml详解
- UE4材质初探(转载)
- UIScrollView控件介绍
- 浏览器Quirksmode与CSS1compat
- 浏览器Quirksmode与CSS1compat
- 浏览器Quirksmode与CSS1compat
- 浏览器Quirksmode与CSS1compat
- 浏览器Quirksmode与CSS1compat
- 浏览器Quirksmode与CSS1compat
- 浏览器Quirksmode与CSS1compat
- 浏览器Quirksmode与CSS1compat
- 浏览器Quirksmode与CSS1compat
- 浏览器Quirksmode与CSS1compat
- 浏览器Quirksmode与CSS1compat
- 浏览器Quirksmode与CSS1compat
- 浏览器Quirksmode与CSS1compat
- 浏览器Quirksmode与CSS1compat
- 浏览器Quirksmode与CSS1compat