SAS
Monday, 10 October 2011
SQL- Aggregate Functions- SUM()
n
The 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
Newer Post
Older Post
Home
Subscribe to:
Post Comments (Atom)
No comments:
Post a Comment