Hello, I'm running the following query in mysql:
select * from usuarios where login='gamboamurilo' or email='[email protected]' and senha='8b0a60f71e758c8b27e7688ee754cd85'
inner join permissoes on usuarios.permissoes=permissoes.id
inner join dados_perfil on usuarios.id=dados_perfil.id_usuario;
However, it is returning a syntax error, but even after reading the documentation, I could not find such an error, where it is and how can I fix it?