Q. What is the purpose of the COUNT() aggregate function?

A
To calculate the sum of values in a column
B
To find the average value of a column
C
To return the number of rows that match a specified criterion
D
To find the maximum value in a column
Solution:

COUNT() is an aggregate function that counts the number of rows. COUNT(*) counts all rows, while COUNT(column) counts non-NULL values in that column.

Entri Contact Image

Get Expert Advice for Free: Register for Your Free Consultation Now!