Oracle Database SQL 12c 1z0-071 Exam Practice Test 3
© examsiri.com
Question : 11 of 50
Marks:
+1,
-0
View the Exhibit and examine the structure of the CUSTOMERS table.
Evaluate the following two queries:
Which statement is true regarding the execution of the above queries?
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.
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; Evaluate the following two queries:
Which statement is true regarding the execution of the above queries?
Go to Question: