All Questions
1 question
2
votes
2
answers
7k
views
Add cumulative sum to time-series query PostgreSQL 9.5
I wrote the query that gives me time-series over some date range and interval that shows revenue for each time interval:
SELECT
interval_date,
coalesce(campaign_revenue,0) AS campaign_revenue,...