Re:Distinct on: a confusing, unique and useful feature in Po...
by lenzm on Friday March 20, 2020 @03:05PM
(#22640533)
Absolutely. You'll need an expression to get the date out of the timestamp, then you want rows that are distinct on customer_id & date order by timestamp desc.
[ Parent
| on HN ]
There are no comments on this comment yet.