In the case of auto-incrementing IDs and the absence of deviations from dates, the solution is simple:
SELECT c.*, o.*
FROM Customer c
JOIN (SELECT max(id) as order_id, customer_id
FROM Order GROUP BY curtomer_id) conn on c.id = conn.customer_id
JOIN Order o on o.id = conn.order_id
source
share