1
SQLIntermediate#subqueries
Common causes: wrapping the column in a function, leading wildcard LIKE, implicit type conversion, low selectivity, or a stale optimizer statistic.
-- index unused: WHERE YEAR(order_date) = 2026 -- index-friendly rewrite: WHERE order_date >= '2026-01-01' AND order_date < '2027-01-01'