the first code brings me the result well
select t.TransaccionId, t.NetAmount, t.UserId, t.Id_movimiento, t.CreatedDate
from TablaPrincipal t where id_movimiento is null
the second code
select t.TransaccionId, t.NetAmount, t.UserId, t.Id_movimiento, t.CreatedDate, u.nombreApellido_usuario
from TablaPrincipal t
inner join Usuarios u on t.UserId = u.Id_usuario
where id_movimiento is null
but when I put the inner join it does not bring me anything! Any ideas?