SUM()
It returns the total sum of values using the given argument.
Syntax:
SUM(expression)
Example:
SELECT SUM(salary) AS TotalSalary FROM employees;
Output:
SUM()
It returns the total sum of values using the given argument.
Syntax:
SUM(expression)
Example:
SELECT SUM(salary) AS TotalSalary FROM employees;
Output: