MySQL Composite Indexes: Leftmost-Prefix Rule and Column Ordering for InnoDB
MySQL composite indexes follow the leftmost-prefix rule: a query must reference a contiguous prefix of index columns starting from the first. This guide explains column ordering, covering indexes, verification with EXPLAIN, and common mistakes that waste write throughput.