MySQL SUM() FunctionThe sum() is a Math function of MySQL. This function is used to sum the values of given expressions. SyntaxParameter:aggregate_expression: It is the column to be summed. tables: It is the name of the table in which given aggregate_expression is present. where conditions: It is optional used to apply the specified condition. Returns:This function returns the sum of given expression. Table:Example 1Output: Example 2Output: Next TopicMySQL Math |
We provides tutorials and interview questions of all technology like java tutorial, android, java frameworks
G-13, 2nd Floor, Sec-3, Noida, UP, 201301, India