Untitled
unknown
plain_text
2 years ago
122 B
6
Indexable
SELECT user_id, paid_at::DATE, MIN(paid_at::DATE) OVER (partition by user_id) as first_paid_at FROM tools_shop.orders
Editor is loading...
SELECT user_id, paid_at::DATE, MIN(paid_at::DATE) OVER (partition by user_id) as first_paid_at FROM tools_shop.orders