PostgreSQL one-liner that replaced 30 lines — by @urisato on VOID | VOID