Every story and comment from the Hacker News API, in a layout borrowed from 2001.
A comment on Lesser Known Postgres Features. Parent comment
Lots and lots of theory about how to do this correctly.
I authored a project to do this with triggers. https://github.com/rivethealth/denorm
Lots and lots of theory about how to do this correctly.
I authored a project to do this with triggers. https://github.com/rivethealth/denorm