Simple, self-explanatory code snippets.
select distinct on (client_id) o.*
from orders as o
order by client_id
;
No comments:
Post a Comment