I am getting the same error and it seems to be because of the table name
which is names. Is names a reserved word?
I have also seen this error where a column name is a reserved word. I
was able to deal with the column by using single quotes but the table
name has me stompped.
The table is not my creation so changing the table name is not an
option.