Here I explain you how to use SUM fuction in SQL. SUM function is used to find out the sum of numeric column in various records.
For explanation I consider a table with following records :
If you want to calculate total of salary, then you can use following statement :
We produce folowing result :
For explanation I consider a table with following records :
If you want to calculate total of salary, then you can use following statement :
We produce folowing result :
0 comments:
Post a Comment