examerioLogin
← Backend PythonQuestion 33 of 49

What is the left-prefix rule for composite indexes?

πŸ“˜ Explanation

The left-prefix rule means a composite index is efficiently used only when the query filters on its leading column(s), in the order they appear in the index. The other options incorrectly describe alphabetical ordering, requiring all columns, or prioritizing the rightmost columns.

πŸ“– Learn: Indexes & query performance

Related questions

← PreviousNo login needed