Sargable range
A function on an indexed column hides it from the index. Compare the bare column with a range instead.
task
The April 2026 order count is written with a function on the column. Rewrite it as a range so the index is used.
Run a query to see rows here.
Run EXPLAIN on the statement under the cursor: Plan tab, button Explain.
No tables yet.
A function on an indexed column hides it from the index. Compare the bare column with a range instead.
The April 2026 order count is written with a function on the column. Rewrite it as a range so the index is used.