Hello,
I'm new to Lazarus.
I have the following question. Why when I run this SQL is reporting this error?
He is not allowing me to put AS.
QuerySQL -> SQL
UPDATE acesso_historico AS ah, acesso_cadastro AS ac
SET ultimoAcesso = :ultimoAcesso
WHERE ac.usuario = :usuario
AND ah.id = ac.id
Error:
Unexpected Token: 'AS', expected: 'SET'