PostgreSQL Tutorial (official)

FreeDatabases & SQLpostgresql.org

Best for: Learning PostgreSQL from the source

Overview

The tutorial section of the official PostgreSQL documentation: creating tables, querying, joins, transactions and more, explained by the people who build it.

Strengths

  • Accurate and up to date
  • Free

Drawbacks

  • Dry compared with interactive courses

Alternatives to PostgreSQL Tutorial (official)

See all 11 →

Entity Framework Core

The default data layer for most .NET apps
Free

Microsoft's ORM for .NET. Map C# classes to tables, query with LINQ, and manage schema changes with migrations. Works with SQL Server, PostgreSQL (via Npgsql), SQLite and others.

Dapper

Hand-written SQL without boilerplate
Free

Lightweight object mapper: you write the SQL, Dapper maps the rows to C# objects. Very little overhead, which is why it's often used next to EF Core for performance-critical queries.

PostgreSQL documentation

Checking how Postgres really behaves
Free

The official PostgreSQL manual. Unusually readable; the chapters on indexes, MVCC and EXPLAIN are worth reading in full.