Which SQL function is used to count the number of rows in a SQL query ?
A. COUNT()
B. NUMBER()
C. SUM()
D. COUNT(*)
Answer:A
Which SQL function is used to count the number of rows in a SQL query ?
A. COUNT() B. NUMBER() C. SUM() D. COUNT(*)
Explanation:COUNT(*) takes null value row in to consideration.