show-notice
hide-notice

Tuesday, 6 August 2013

SUM() Function in sql server


Introduction:

The SUM() function returns the total sum of a numeric column.


Syntax:
SELECT SUM(column_name) FROM table_name;




Example:
SELECT SUM(price) AS Total FROM table; 

SHARE THIS POST   

0 comments :

Post a Comment

Design by Gohilinfotech | www.gohilinfotech.blogspot.com