Posts by Nelson • 9 points
3 posts
-
0
votes2
answers46
viewsA: Query help for the problem created?
Very logical. Simple. SELECT ec.*, ea.Estagio AS EstagioAtual, pe.Estagio As ProximoEstagio FROM EstagiosCronologia ec JOIN Estagios ea ON ea.EstagioId = ec.EstagioAtualId JOIN Estagios pe ON…
-
0
votes2
answers46
viewsA: Query help for the problem created?
I got the answer. SELECT e.Estagio AS Atual, (SELECT est.Estagio FROM EstagiosCronologia ecs INNER JOIN Estagios est ON ecs.ProximoEstagioId = est.EstagioId WHERE ecs.EstagioAtualId =…
-
-1
votes2
answers46
viewsQ: Query help for the problem created?
I need to create a list composed by the fields Current and Next Stage both stage names coming from the same table. Example of the result I seek: Stage Table (stage name provider) The query searches…