postgresql

PostgreSQL - Overview

PostgreSQL, often referred to as Postgres, is a powerful, open-source, object-relational database management system (ORDBMS). Known for its robustness, extensibility, and compliance with SQL standards, it supports both relational and non-relational data structures.

Connecting to a PostgreSQL server

Creating and displaying databases

Creating tables

Modifying tables

Querying data

Inserting data

Updating data

Deleting data

Aggregate functions

Count

GROUP BY

Copying data

Casting

Filtering the output

Text operators

Concatenation

Other useful text functions

Numeric functions

Useful NULL functions

COALESCE

NULLIF

Date and time

What time is it?

Creating date/time values

Intervals

Extracting parts of dates

Date arithmetics