> I'm just curious - what's the 'OFFSET 0' for? Trick to fool postgres into thinking it can't rewrite out your subquery and eliminate it ...
pgsql-sql by date:
Соглашаюсь с условиями обработки персональных данных