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

What is the purpose of the 'SUM' function in SQL?
To calculate the average of a column's values.
To count the number of rows.
To find the smallest value in a column.
To calculate the sum of values in a column.

Explanation

The SUM function adds up all the values in a given column.

Comments (0)

Advertisement