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

What does the 'SUM' function do in an SQL query?
Counts the number of rows.
Finds the average value of a column.
Calculates the sum of values in a column.
Sorts the results.

Explanation

The SUM function adds up all the values in the specified column.

Comments (0)

Advertisement