-
How to limit rows to at most N per category – select * from depesz;
How to Limit Rows to At Most N Per Category — One of those things that sounds simple, but isn’t quite as simple in practice. There’s a lot of SQL to enjoy here(!) and it’ll be an eye opener if you haven’t worked with triggers in a while.
Appears in lists (1)
More like this (3)
-
Performance differences between normal and generic audit triggers
Performance Differences Between Normal and Generic Audit Triggers — Triggers are useful for tracking changes in...
-
PostgreSQL count(*) made fast - Cybertec
2. How To Improve The Performance of COUNT(*) — Using count(*) can cause performance problems. This article...
-
okbob/plpgsql_check
plpgsql_check: A PL/pgSQL Code Checker — This is quite specialized but if you’re looking to find...