Subscribe For Free Updates!

We'll not spam mate! We promise.

SQL AVG Statement

SQL AVG (Average) Statement
The AVG command is again used with the select statement, and delivers the average value of range of integers. The command is used thus:-
SELECT AVG (Balance) As Avg_Balance
FROM SecA_Bal
WHERE Balance >0;
This will deliver a result called Avg_Balance which will be the average amount owed by customer, ignoring customers whose accounts are in debit.

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