Subscribe For Free Updates!

We'll not spam mate! We promise.

SQL SUM Statement

The SUM statement is used exactly as you might expect, to sum related values. It is used as a sub-function fo the SELECT statement as follows:-
SELECT SUM (Balance) AS TOTAL
FROM sec A_Bal;
This will return a TOTAL of 1100.81as the outstanding balance of all customers in secA_Bal.

Please Give Us Your 1 Minute In Sharing This Post!
SOCIALIZE IT →
FOLLOW US →
SHARE IT →
Powered By: BloggerYard.Com