Beyondsoft Group Interview Question

How would you structure the query if it fails due to insufficient computing resources?