display query syntax errors