2
I have this code:
SELECT Colaborador.IdColaborador, Colaborador.Numero, Colaborador.Nome, Colaborador.[Centro de Custo], Colaborador.Usuario,
Colaborador.Responsavel, Colaborador_1.Nome FROM Colaborador,
Colaborador AS Colaborador_1 WHERE
(((Colaborador_1.IdColaborador)=[Colaborador].[IdColaborador]));
Where I want to get the name of the responsible person who is also a Collaborator but the result is the name of the Collaborator repeated 2 times.
What I’m doing wrong ?
What is the mistake you get?
– gato
I get the name of the first collaborator always, I do not receive your responsible.
– SaPires
You don’t have a Idresponsavel?
– Marco Souza
Responsible is Idresponsavel, who is also Idcollaborator
– SaPires