Page 1 of 1

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

Posted: Sun Jun 11, 2023 3:54 pm
by answerhappygod
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.