- SELECT date_trunc('month', CAST(created_at AS date)),
- total_amt,
- SUM(total_amt) OVER(ORDER BY created_at)
- FROM tools_shop.orders;
Re: Untitled
From Beige Porcupine, 3 Months ago, written in Plain Text, viewed 85 times.
This paste is a reply to Untitled from Insensitive Finch
- view diff
URL http://codebin.org/view/dc1bc4c3
Embed
Download Paste or View Raw
— Expand Paste to full width of browser