exam questions

Exam 1z0-071 All Questions

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

Exam 1z0-071 topic 1 question 205 discussion

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

Examine the description of the PRODUCT_INFORMATION table:



Which query retrieves the number of products with a null list price?

  • A. SELECT COUNT(NVL(list_price, 0)) FROM product_information WHERE list_price is NULL;
  • B. SELECT COUNT(list_price) FROM product_information WHERE list_price = NULL;
  • C. SELECT COUNT(list_price) FROM product_information WHERE list_price IS NULL;
  • D. SELECT COUNT(DISTINCT list_price) FROM product_information WHERE list_price IS 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, 10 months ago
Selected Answer: A
A is correct
upvoted 6 times
...
kay000001
Most Recent 2 months, 2 weeks ago
The answer is A. You need the NVL, otherwise the COUNT won't know what to count. Remember, NULL means unknown.
upvoted 2 times
...
HUGO2024
4 months, 2 weeks ago
Selected Answer: A
A is correct
upvoted 1 times
...
yaya32
11 months, 3 weeks ago
Selected Answer: A
A is correct
upvoted 1 times
...
Arth1989
1 year ago
A is correct. Need to convert to not NULL first.
upvoted 1 times
...
lucemqy
1 year, 1 month ago
Selected Answer: A
A is correct
upvoted 1 times
...
Darnun
1 year, 9 months ago
Selected Answer: A
A is correct.
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:
SY0-701
London, 1 minute ago