TUTORIAL INDEX

MySQL SUM()

|

SUM()
It returns the total sum of values using the given argument.

Syntax:

SUM(expression)

Example:

SELECT SUM(salary) AS TotalSalary FROM employees;

    

Output:

 

ONLINE WEB TOOLS

WhatIsMyIpAddress
Shorterner