Why can applying a function to a column prevent index usage?
There's an index on email, but the query WHERE LOWER(email) = 'anna@example.com' still scans the entire table. Why can't the database use the index for this lookup? How would you rewrite the query or change the index?
ExplainIndexesJuniorBackendData EngineerAnalyst