SQL and PostgreSQL

by Cioloca Aurelian

Section 1

Simple SQL Statements

Section 2

Filtering Records

Section 3

Working with Tables

Section 4

Relating Records with Joins

Section 5

Aggregation of Records

Section 6

Sorting Records

Section 7

Unions and Intersections with Sets

Section 8

Assembling Queries with SubQueries

Section 9

Selecting Distinct Records

Section 10

Utility Operators, Keywords, and Functions

Section 11

PostgreSQL Complex Datatypes

Section 12

Database-Side Validation and Constraints

Section 13

Polymorphic Associations

Section 14

A Look at Indexes for Performance

Section 15

Basic Query Tuning

Section 16

Common Table Expressions (CTEs)

Section 17

Simplifying Queries with Views

Section 18

Optimizing Queries with Materialized Views

Section 19

Handling Concurrency and Reversibility with Transactions

Section 20

Managing Database Design with Schema Migrations

Section 21

Schema vs Data Migrations

Section 22

Accessing PostgreSQL From APIs

Section 23

Data Access Pattern - Repositories

Section 24

Security Around PostgreSQL

Section 25

Fast Parallel Testing