Hello, I have the following select:
select u.idusuario, u.apellido, u.nombre, u.login, u.email
from USUARIO u left join CREDENCIAL
c on u.idusuario=c.idusuario
where c.idusuario is NULL
Which is useful to bring the records that do not exist in the table Credential but that do exist in the table User , I would like to know how I can do to show once all the users that are found to be repeated 2, 1 or none at the Credential table.