exam questions

Exam 1z0-071 All Questions

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

Exam 1z0-071 topic 1 question 208 discussion

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

Examine the description of the CUSTOMERS table:



For customers whose income level has a value, you want to display the first name and due amount as 5% of their credit limit. Customers whose due amount is null should not be displayed.

Which query should be used?

  • A. SELECT cust_first_name, cust_credit_limit * .05 AS due_amount

    FROM customers -
    WHERE cust_income_level IS NOT NULL
    AND cust_credit_limit IS NOT NULL
  • B. SELECT cust_first_name, cust_credit_limit * .05 AS due_amount

    FROM customers -

    WHERE cust_income_level <> NULL -
    AND due_amount <> NULL;
  • C. SELECT cust_first_name, cust_credit_limit * .05 AS due_amount

    FROM customers -

    WHERE cust_income_level != NULL -
    AND cust_credit_level != NULL;
  • D. SELECT cust_first_name, cust_credit_limit * .05 AS due_amount

    FROM customers -

    WHERE cust_income_level != NULL -
    AND due_amount != NULL;
  • E. SELECT cust_first_name, cust_credit_limit * .05 AS due_amount

    FROM customers -
    WHERE cust_income_level IS NOT NULL
    AND due_amount IS NOT NULL;
Show Suggested Answer Hide Answer
Suggested Answer: A 🗳️

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
jfc1
Highly Voted 1 year, 11 months ago
Selected Answer: A
A is the correct answer
upvoted 10 times
...
HUGO2024
Most Recent 4 months, 2 weeks ago
Selected Answer: A
A is the correct
upvoted 1 times
...
yaya32
11 months, 3 weeks ago
Selected Answer: A
A is correct
upvoted 1 times
...
lucemqy
1 year, 2 months ago
Selected Answer: A
A you can't use alias in where clause
upvoted 1 times
...
wi11111
1 year, 5 months ago
Selected Answer: A
A should be correct
upvoted 2 times
...
WingL
1 year, 6 months ago
100% A CORRECT. THE STATEMENT WILL EXECUTE THE 'WHERE' CONDITION FIRST BEFORE SELECT STATEMENT.
upvoted 1 times
...
zouve
1 year, 6 months ago
E is the correct answer
upvoted 1 times
bca123
2 weeks, 5 days ago
ALIAS NAME NOT WORKED IN WHERE CLAUSE
upvoted 1 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:
SY0-701
London, 1 minute ago