We use cookies to understand how the site is used and to display ads. Analytics and advertising only run after you accept. You can change your choice anytime. Privacy policy

Skip to content
devvkit
$devvkit resources --cheatsheet sql-cheatsheet

SQL Cheatsheet

[databases]

SQL is the language of relational databases. This cheatsheet covers the commands you write daily: querying with SELECT, filtering and sorting, every JOIN type, aggregation and GROUP BY, window functions, modifying data with INSERT/UPDATE/DELETE, and schema management with DDL.

Each entry shows real syntax followed by the use case. Most examples work in PostgreSQL, MySQL, SQLite, and SQL Server with minor dialect differences.