62.View the E xhibit and examine the structure of the CUSTOMERS table.
来源:互联网 发布:我的世界pe村民交易js 编辑:程序博客网 时间:2024/06/05 10:49
62.View the E xhibit and examine the structure of the CUSTOMERS table.
You want to generate a report showing the last names and credit limits of all customers whose last names
start with A, B, or C, and credit limit is below 10, 000.
Evaluate the following two queries:
SQL> SELECT cust_last_name, cust_credit_limit FROM customers
WHERE (UPPER(cust_last_name) LIKE 'A%' OR
UPPER(cust_last_name) LIKE 'B%' OR UPPER(cust_last_name) LIKE 'C%')
AND cust_credit_limit < 10000;
SQL>SELECT cust_last_name, cust_credit_limit FROM customers
WHERE UPPER(cust_last_name) BETWEEN 'A' AND 'C'
AND cust_credit_limit < 10000;
Which statement is true regarding the execution of the above queries?
A.Only the first query gives the correct result.
B.Only the second query gives the correct result.
C.Both execute successfully and give the same result.
D.Both execute successfully but do not give the required result.
答案:A
解析:参考60
You want to generate a report showing the last names and credit limits of all customers whose last names
start with A, B, or C, and credit limit is below 10, 000.
Evaluate the following two queries:
SQL> SELECT cust_last_name, cust_credit_limit FROM customers
WHERE (UPPER(cust_last_name) LIKE 'A%' OR
UPPER(cust_last_name) LIKE 'B%' OR UPPER(cust_last_name) LIKE 'C%')
AND cust_credit_limit < 10000;
SQL>SELECT cust_last_name, cust_credit_limit FROM customers
WHERE UPPER(cust_last_name) BETWEEN 'A' AND 'C'
AND cust_credit_limit < 10000;
Which statement is true regarding the execution of the above queries?
A.Only the first query gives the correct result.
B.Only the second query gives the correct result.
C.Both execute successfully and give the same result.
D.Both execute successfully but do not give the required result.
答案:A
解析:参考60
0 0
- 62.View the E xhibit and examine the structure of the CUSTOMERS table.
- 79.View the Exhibit and examine the structure of the CUSTOMERS table. In the CUSTOMERS table, the CU
- 93.View the Exhibit and examine the structure of the CUSTOMERS table. Using the CUSTOMERS table, y o
- 8.View the Exhibit and examine the structure of the CUSTOMERS table.
- 54.View the Exhibit and examine the structure of the CUSTOMERS table.
- 65.View the Exhibit and examine the structure of the CUSTOMERS table.
- 110.View the Exhibit and examine the structure of the CUSTOMERS table.
- 111.View the Exhibit and examine the structure of the CUSTOMERS table.
- 115.View the Exhibit and examine the structure of the CUSTOMERS table.
- 145.View the Exhibit and examine the structure of the CUSTOMERS table.
- 159.View the Exhibit and examine the structure of the CUSTOMERS table.
- 60.View the Exhibit and examine the structure of CUSTOMERS table.
- 1.View the Exhibit and examine the structure of the SALES, CUSTOMERS, PRODUCTS, and TIMES tables.
- 151.View the Exhibit and examine the structure of the CUSTOMERS and CUST_HISTORY tables.
- 157.View the Exhibit and examine the structure of the ORDERS and CUSTOMERS tables.
- 125.Examine the structure of the CUSTOMERS table:
- 141.View the Exhibit and examine the structure of CUSTOMERS and GRADES tables.
- 160.View the Exhibit and examine the structure of ORDERS and CUSTOMERS tables.
- HDU 2589 正方形划分(DFS+回溯)
- Eclipse适用android 6.0的ADT23.0.7下载地址
- adidas originals zflb mbah dzbr
- 边看书边做边发挥-图书软件-4
- ConcurrentHashMap
- 62.View the E xhibit and examine the structure of the CUSTOMERS table.
- Xsolla采访Fenix Soft
- MyEclipse 2015优化技巧
- 虚拟化 - 每天5分钟玩转 OpenStack(2)
- 4291: [PA2015]Kieszonkowe|贪心
- MyEclipse配置Maven
- UIL加载图片的时候注意
- Android应用界面开发_学习笔记_第二周
- 表单验证