Just added: Embedded C From Zero
PostgreSQL
-- Insert a new session labeled 'checkout' - don't set id, the DEFAULT handles it.
-- Then count how many sessions exist.
SELECT COUNT(*) FROM sessions;