Dashboard Status Lookup
The dashboard often shows orders whose status is paid or pending, but lookups by status are too slow. Add an index on status so this list opens faster.
Speed this query up with an index
SELECT * FROM orders WHERE status IN ('paid','pending')Iba CREATE/ALTER/DROP — žiadny záverečný SELECT nie je potrebný.
Prihláste sa, aby ste videli históriu odoslaní
Prihlásiť saPrihláste sa, aby ste mohli používať AI mentora
Prihlásiť sa