67、(25-8)choose the best answer:
View the Exhibit and examine the structure of CUSTOMERS table.
Evaluate the following query:
SQL>SELECT cust_id, cust_city
FROM customers
WHERE cust_firstname NOT LIKE ‘A%g_%‘ AND
cust_credit_limit BETWEEN 5000 AND 15000 AND
cust_credit_limit NOT IN (7000, 11000) AND
cust_city NOT BETWEEN ‘A‘ AND ‘B‘;
Which statement is true regarding the above query?
A) It executes successfully.
B) It produces an error because the condition on the CUST_FIRST_NAME column is not valid.
C) It produces an error because conditions on the GUST_CREDIT_LIMIT column are not valid.
D) It produces an error because the condition on the CUST_CITY column is not valid.
Answer:A
(解析:考语法,验证 not like 、between and、not in、not between and 的混合使用)
原文地址:https://blog.51cto.com/13854012/2359443