How do you optimize a slow-running SQL query that processes millions of rows of supply chain transaction data at Maersk?