Quiz

Composite Index Column Order

Understanding how composite index column order and the leftmost-prefix rule affect query optimization.

You have a composite index on (last_name, first_name). Which query can fully use this index for an index seek/range scan rather than a full scan (assuming a typical B-tree index)?