MySQL Cheatsheet
MySQL at a glance - mysql CLI, InnoDB, data types, indexes, upserts, JSON, users, backups, and the LTS vs Innovation release tracks
PostgreSQL Cheatsheet
PostgreSQL at a glance - psql commands, types, JSONB, indexes, upserts, EXPLAIN, roles, backups and what's new in PostgreSQL 18
SQL Cheatsheet
SQL at a glance - DDL, DML, joins, aggregation, CTEs, window functions, transactions and what SQL:2023 added
MySQL
The world's most popular open source database
PostgreSQL
The World's Most Advanced Open Source Relational Database
SQL Fundamentals
SQL command groups (DDL, DML, DCL, TCL) with examples of CTEs, window functions, pivots and transactions