exam questions

Exam 1z0-071 All Questions

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

Exam 1z0-071 topic 1 question 29 discussion

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

Which two statements are true about the COUNT function? (Choose two.)

  • A. COUNT(*) returns the number of rows in a table including duplicate rows and rows containing NULLs in any column.
  • B. It can only be used for NUMBER data types.
  • C. COUNT(DISTINCT inv_amt) returns the number of rows excluding rows containing duplicates and NULLs in the INV_AMT column.
  • D. COUNT(inv_amt) returns the number of rows in a table including rows with NULL in the INV_AMT column
  • E. A SELECT statement using the COUNT function with a DISTINCT keyword cannot have a WHERE clause.
Show Suggested Answer Hide Answer
Suggested Answer: AC 🗳️

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
kakamusili
Highly Voted 2 years, 2 months ago
Group functions do not consider NULL values, except the COUNT(*)
upvoted 9 times
...
kay000001
Most Recent 2 months ago
Selected Answer: AC
A and C are correct.
upvoted 1 times
...
TheOracleWasTaken
1 year, 5 months ago
A and C seem correct!
upvoted 4 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