0
I understand how it works about CONCAT
of SQL-Server
, but someone can help me?
For example: I have 3 tables: Team, Engine and Pilot.
used Concat with two tables Team and Motor
Select Concat(Equipe,' - ', Motor) EQUIPE
From Pilotos PI, Equipes E, Motores M
Where P.CODIGO_EQUIPE = E.CODIGO_EQUIPE
And P.CODIGO_MOTOR = M.CODIGO_MOTOR
See the result below worked, but how do I delete same name from the second column?
Resultado Quero resultado assim
EQUIPE EQUIPE
-------------------- -----------------------------
Cooper - Climax Cooper - Climax
Ferrari - Ferrari Ferrari
Maserati - Maserati Maserati
Look forward to.
It worked!!!! Thank you very much, Ricardo!!!
– Fabio Gomes
do not forget to accept the answer ;)
– Ricardo Pontual