American Express interview question

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