Posts by Bruno Oliveira Santos • 1 point
1 post
-
0
votes0
answers60
viewsQ: Return multiple lines, in a single comma separated by ORACLE
I need to bring these results, in a single line, where it is only separated by a comma, how do I do that? Query: SELECT ' '|| (SELECT DECODE(MAX(g.ds_opcao),NULL,'',MAX(g.ds_opcao)||' - ') FROM…