DELETE FROM loota_box WHERE order_id = (SELECT id FROM loota_order WHERE customer_id = (SELECT id FROM loota_customer WHERE identifier = 'maakastanja'));

INSERT INTO loota_box (order_id, delivery_date) VALUES ((SELECT id FROM loota_order WHERE customer_id = (SELECT id FROM loota_customer WHERE identifier = 'maakastanja')), '2025-09-06 10:00:00+00');
INSERT INTO loota_box (order_id, delivery_date) VALUES ((SELECT id FROM loota_order WHERE customer_id = (SELECT id FROM loota_customer WHERE identifier = 'maakastanja')), '2025-09-20 10:00:00+00');
INSERT INTO loota_box (order_id, delivery_date) VALUES ((SELECT id FROM loota_order WHERE customer_id = (SELECT id FROM loota_customer WHERE identifier = 'maakastanja')), '2025-10-04 10:00:00+00');
INSERT INTO loota_box (order_id, delivery_date) VALUES ((SELECT id FROM loota_order WHERE customer_id = (SELECT id FROM loota_customer WHERE identifier = 'maakastanja')), '2025-07-26 10:00:00+00');
INSERT INTO loota_box (order_id, delivery_date) VALUES ((SELECT id FROM loota_order WHERE customer_id = (SELECT id FROM loota_customer WHERE identifier = 'maakastanja')), '2025-08-23 10:00:00+00');
INSERT INTO loota_box (order_id, delivery_date) VALUES ((SELECT id FROM loota_order WHERE customer_id = (SELECT id FROM loota_customer WHERE identifier = 'maakastanja')), '2025-08-09 10:00:00+00');
INSERT INTO loota_box (order_id, delivery_date) VALUES ((SELECT id FROM loota_order WHERE customer_id = (SELECT id FROM loota_customer WHERE identifier = 'maakastanja')), '2025-07-12 10:00:00+00');
