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.
Which two statements are true about the COUNT function? (Choose two.)
-
- Site Admin
- Posts: 899590
- Joined: Mon Aug 02, 2021 8:13 am