Selectivity
The fraction of rows that a WHERE clause or predicate allows to pass through, expressed between 0 and 1.
A query `WHERE age > 50` on a table with 1 million rows might have selectivity 0.2 (200,000 rows pass). High selectivity means few rows; low selectivity means many. The optimizer uses table statistics to estimate selectivity and pick the cheapest execution path.
If the optimizer guesses wrong about selectivity — believing a predicate is much more selective than it actually is — it will choose an inefficient plan.