exam questions

Exam 1z0-071 All Questions

View all questions & answers for the 1z0-071 exam

Exam 1z0-071 topic 1 question 182 discussion

Actual exam question from Oracle's 1z0-071
Question #: 182
Topic #: 1
[All 1z0-071 Questions]

Examine the description of the CUSTOMERS table:



You need to display last names and credit limits of all customers whose last name starts with A or B in lower or upper case, and whose credit limit is below 1000.
Examine this partial query:

SELECT cust_last_name, cust_credit_limit FROM customers

Which two WHERE conditions give the required result?

  • A. WHERE UPPER(cust_last_name) IN (‘AX’, ‘B%’)
    AND cust_credit_limit < 1000;
  • B. WHERE (UPPER(cust_last_name) LIKE ‘A%’ OR UPPER(cust_last_name) LIKE ‘B%’)
    AND ROUND(cust_credit_limit) < 1000;
  • C. WHERE UPPER(cust_last_name) BETWEEN UPPER(‘A%’ AND ‘B%’)
    AND ROUND(cust_credit_limit) < 1000;
  • D. WHERE (INITCAP(cust_last_name) LIKE ‘A%’ OR INITCAP(cust_last_name) LIKE ‘B%’)
    AND cust_credit_limit < 1000;
  • E. WHERE (UPPER(cust_last_name) LIKE INITCAP(‘A’) OR UPPER(cust_last_name) LIKE INITCAP(‘B’))
    AND ROUND(cust_credit_limit) < ROUND(1000);
Show Suggested Answer Hide Answer
Suggested Answer: BD 🗳️

Comments

Chosen Answer:
This is a voting comment (?). It is better to Upvote an existing comment if you don't have anything to add.
Switch to a voting comment New
ogi33
3 months, 2 weeks ago
only D, B not in case cust_credit_limit =1000.45
upvoted 1 times
...
yaya32
6 months ago
Selected Answer: BD
BD is correct
upvoted 1 times
...
lucemqy
8 months, 1 week ago
Selected Answer: BD
BD is the correct answer
upvoted 1 times
...
jm9999
10 months ago
What is the point of using round?
upvoted 1 times
...
wi11111
11 months, 3 weeks ago
For option B, what if cust_credit_limit = 999.6?
upvoted 2 times
...
Shrimathi
12 months ago
BD correct, since E didnt not search for the last name start with A/B, the condition is looking for lastname='A'
upvoted 1 times
...
zouve
1 year ago
Selected Answer: BD
BD tested
upvoted 4 times
...
Orxan_H
1 year ago
Selected Answer: BD
B D are correct
upvoted 2 times
...
kesammy9
1 year, 5 months ago
Selected Answer: BD
BD is correct
upvoted 3 times
...
tonII20II
1 year, 5 months ago
Selected Answer: BD
BD must be right
upvoted 3 times
...
Community vote distribution
A (35%)
C (25%)
B (20%)
Other
Most Voted
A voting comment increases the vote count for the chosen answer by one.

Upvoting a comment with a selected answer will also increase the vote count towards that answer by one. So if you see a comment that you already agree with, you can upvote it instead of posting a new comment.

SaveCancel
Loading ...
exam
Someone Bought Contributor Access for:
CAS-004
Montreal, 1 minute ago