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 2 years, 4 months ago
Selected Answer: A
A is correct
upvoted 6 times
...
kay000001
Most Recent 8 months 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
10 months ago
Selected Answer: A
A is correct
upvoted 1 times
...
yaya32
1 year, 5 months ago
Selected Answer: A
A is correct
upvoted 1 times
...
Arth1989
1 year, 5 months ago
A is correct. Need to convert to not NULL first.
upvoted 1 times
...
lucemqy
1 year, 7 months ago
Selected Answer: A
A is correct
upvoted 1 times
...
Darnun
2 years, 2 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 ...