Posts by Rayane F. • 36 points
1 post
-
2
votes1
answer59
viewsA: PIVOT - Difficulty with Columns
Using the UNION ALL from our friend, I believe it can work. SELECT TIPO, [2019/01/10], [2019/02/10] [2019/03/10] FROM (select 'VL_VENCIDO'as TIPO, VENCIDO as VALOR from OPERACAO UNION ALL select…
sql-serveranswered Rayane F. 36