How to calculate the total in sql?

 Posted by Kmandapalli on 1/22/2014 | Category: Sql Server Interview questions | Views: 1514 | Points: 40

The total or sum of a particular column can be calculated SUM functions as below,

SELECT SUM(ColumnName) AS Salary FROM tableName

Asked In: Many Interviews | Alert Moderator 

Comments or Responses

Login to post response