#1006

Faster Paid Orders

The paid-orders list in orders is built from status = 'paid' and currently reads too much data. Add an index on status so this screen finds the needed rows faster.

Speed this query up with an index
SELECT * FROM orders WHERE status = 'paid'

Μόνο CREATE/ALTER/DROP — δεν χρειάζεται τελικό SELECT.

Το αποτέλεσμα του ερωτήματός σας θα εμφανιστεί εδώ