Difference between revisions of "AVG()"
From Lianjapedia
Yvonne.milne (Talk | contribs) |
|||
Line 19: | Line 19: | ||
[[Category:SQL]] | [[Category:SQL]] | ||
[[Category:Functions]] | [[Category:Functions]] | ||
+ | [[Category:SQL Functions]] |
Latest revision as of 03:33, 7 December 2012
Contents
Purpose
Returns an average value in a SELECT statement
Syntax
AVG(<expN>)
See Also
AGGREGATES, COUNT(), MAX(), MIN(), SELECT, SUM()
Description
Returns the average value of <expN>.
Example
SELECT AVG(sal) Average FROM accounts