Orders Since a Date
A report reads rows from orders created from 2024-02-01 onward using created_at. Add an index on created_at so the date filter does not read the full table.
Speed this query up with an index
SELECT * FROM orders WHERE created_at >= '2024-02-01'
Tikai CREATE/ALTER/DROP — noslēdzošais SELECT nav nepieciešams.
Pieslēdzies, lai redzētu iesniegumu vēsturi
PieslēgtiesPieslēdzies, lai izmantotu AI mentoru
Pieslēgties