#databases

3 articles tagged “databases”.

A B-tree index narrowing a search from a million rows down to a single leaf page
SQLAdvanced

SQL Indexes and Query Plans: Making Slow Queries Fast

Learn how B-tree indexes really work, read query plans with EXPLAIN, choose the right column order for composite indexes, and spot the mistakes that silently disable an index.

8 min read
Venn diagram of a customers table and an orders table overlapping where a join matches rows
SQLBeginner

SQL JOINs Explained with Simple Examples

INNER, LEFT, RIGHT and FULL joins demystified with two tiny tables. See exactly which rows each join returns, and why.

4 min read