SQL
SELECT
SELECT projects columns from rows.
REFERENCE CATEGORY
19 practical topics
SQL
SELECT projects columns from rows.
SQL
INSERT creates rows.
SQL
UPDATE changes matching rows.
SQL
DELETE removes matching rows.
SQL
WHERE filters individual rows before grouping.
SQL
JOIN combines rows using related keys.
SQL
GROUP BY collects rows for aggregate calculations.
SQL
ORDER BY defines result ordering.
SQL
LIMIT bounds rows returned.
SQL
Aggregates compute count, sum, min, max, or average.
SQL
A subquery nests a query inside another query.
SQL
Constraints enforce integrity independently of application code.
SQL
A primary key uniquely identifies a row.
SQL
Foreign keys require referenced records to exist.
SQL
Unique constraints prevent duplicate keys at the database boundary.
SQL
Indexes accelerate selected reads at a write/storage cost.
SQL
Transactions commit or roll back a set of writes.
SQL
Isolation controls how concurrent transactions observe/interfere with each other.
SQL
ACID means atomicity, consistency, isolation, and durability.