Computer Science for IGCSE & O level - Databases (Section 1 - No. 30)

What is the purpose of the `COUNT` function in SQL?
To calculate the sum of values in a column.
To count the number of records that meet certain criteria.
To sort data in a specific order.
To format the output of a query.

Explanation

The `COUNT` function is used to count the number of rows returned by a query.

Comments (0)

Advertisement