American Express Interview Question

What would you do if a query does not compile SQL.