Payments for an Order
Reconciliation often looks up rows in payments by payments.order_id to fetch payments for a specific order from orders. Add an index on payments.order_id.
Speed this query up with an index
CREATE INDEX ix_payments_order ON payments (order_id)
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