Quantcast
Channel: Transact-SQL forum
Viewing all articles
Browse latest Browse all 23857

Weekly Aggregation based on everyday date

$
0
0

Hi All,

i have a table with 3 columns. Id , MeasureDate,Measure. Here   Id +MeasureDate as primary key.  In this table i want add a column Avg.  if i am running today 2/12/2014,2/5/2014,01/29/2014 and so on avarage value will be replaced in the Avg column .

Give some ideas.


Thiru


Viewing all articles
Browse latest Browse all 23857

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>