The error on line 6, position 62 comes from the parser, which uses XML representation internally. So actually this position doesn't say anything about your SQL statement.
However I was able to reproduce the error, when I replaced one space character by Unicode No-Break Space character (https://unicode-table.com/en/00A0/).
We already have reported similar problem (QP-2617) and the parser team is working on the issue.
But this means that your SQL statement contains one or more incorrect characters. Most probably you copied this from some application or web page, which replaced the space symbols.
I would recommend you to check if the statement contains only correct spaces and / or replace them manually.
Libor