Home Forums SQL Server 2008 T-SQL (SS2K8) Get the average of the data in the table. RE: Get the average of the data in the table.
imex
Ten Centuries
Points: 1234
More actions
October 15, 2012 at 10:18 pm
#1549368
Try:
select [Day], AVG([Value] as Avg_Value
from [MyTable]
group by [Day]
Hope this helps.