Atualização de datas

Para pendências frequenciais

CREATE TEMPORARY TABLE IF NOT EXISTS pendencias_logs_tmp (SELECT * FROM pendencias_logs WHERE id = );You have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near ')' at line 1