Crash course in PostgreSQL, part 1