Monday, 10 October 2011

SQL- Aggregate Functions- SUM()

nThe SUM() function returns the total sum of a numeric column.
Syntax:
SELECT SUM(column_name) FROM table_name
Query:
SELECT SUM(Salary) AS Employee salary FROM EMPtbl1

No comments:

Post a Comment