You attempted execute a query statement which contains a syntax error.
Check that the query statement is valid.
- Look at the statement near the clause identified in the error message
- Is a clause of the query missing?
- Are the clauses in the correct order?
- Are parentheses correctly matched and correctly placed?
- Are quotation marks correctly matched and correctly placed?