Someone knows in sql server theme, how to join a result that gives me from 3 rows to a single row I'm using this query but it does not attach them to me in a single result, something when I do an XML result but with some function .
SELECT ERROR + CAST(Campo1 AS nvarchar) + 'Pos' + CAST(campo2 AS nvarchar)+ 'Pro'+CAST(campo3 AS nvarchar)
FROM Tabla T1
INNER JOIN tabla2 ON campo1 = campo2 AND campo1 = campo2