I have an Sql Server Table.. it\'s something like this:
Id ...... Column1 ...... Column2 ```````````````````````````````` 1 ........ 1 ............. 34 2 ..
Execute the following SQL from average :
select column1,avg(column2) from tablename group by column1;