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