Posts by Norberto108 • 11 points
1 post
-
1
votes1
answer462
viewsA: Mysql - Selecting columns from a dynamic subselect
You can create standard aliases (A,B,C,etc...) for columns to be totaled in @Totalspendmonthly SELECT * FROM ( SELECT 'MAR/2015' as A, 'ABR/2015' as B FROM @TotalSpendMensal ) AS t and then format…
mysqlanswered Norberto108 11