Add AVG aggregate function
Merge pull request #1 from tomi77/master

Add AVG aggregate function