Q. What is the purpose of the COUNT() aggregate function?
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.
Get Question Bank
Strengthen Your Practice with our comprehensive question bank.