Index it
total_cents is a stored generated column, so it can be indexed like any column.
task
total_cents exists as a stored generated column. Make WHERE total_cents = 12000 use an index.
Run a query to see rows here.
Run EXPLAIN on the statement under the cursor: Plan tab, button Explain.
No tables yet.
total_cents is a stored generated column, so it can be indexed like any column.
total_cents exists as a stored generated column. Make WHERE total_cents = 12000 use an index.