-1
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 me a syntax error, however, even after reading the documentation, I could not find such error, where it is and how to fix?
WHERE
has to be after theINNER JOIN
– Roberto de Campos
select * from usuarios Inner Join permissions on usuarios.permissoes=permissoes.id Inner Join dados_perfil on usuarios.id=dados_perfil.id_usuario Where login='gamboamurilo' or email='gamboamurilogmail.com' and password='8b0a60f71e758c8b27e7688ee754cd85';
– Roberto de Campos