To test order processing in different states, prepare test data. In a single statement, insert three rows into orders for the user with user_id = 1: order 501 with status PAID and amount 100.00, order 502 with status PENDING and amount 250.00, and order 503 with status CANCELLED and amount 75.50. For created_at, use CURRENT_TIMESTAMP.
Solution requirement
Just INSERT/UPDATE/DELETE — no trailing SELECT needed.