0
Sum value from every 4 months
excuse me, do you know the query to find the sum value from every 4 months?
1 Antwort
+ 9
Himas Adin Nugroho
For example table with price and day columns will look like this.
select sum(x.price) from dbo.price x
where datediff(month,getdate(),x.day)=4