55.Evaluate the following two queries:

来源:互联网 发布:转移概率矩阵计算方法 编辑:程序博客网 时间:2024/05/29 06:42
55.Evaluate the following two queries:
SQL> SELECT cust_last_name, cust_city FROM customers
WHERE cust_credit_limit IN (1000, 2000, 3000);
SQL> SELECT cust_last_name, cust_city FROM customers
WHERE cust_credit_limit = 1000 OR cust_credit_limit = 2000 OR cust_credit_limit = 3000;


Which statement is true regarding the above two queries?
A.Performance would improve in query 2.
B.Performance would degrade in query 2.
C.There would be no change in performance.
D.Performance would improve in query 2 only if there are null values in the CUST_CREDIT_LIMIT column.
答案:C

0 0
原创粉丝点击