Erro ao carregar filtraOcorrenciasAluno: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'OR R.pessoa_fisica = ) AND (dataOcorrencia BETWEEN '2021-09-02 00:00:00' AND' at line 27