1
I got the following select
:
SELECT DISTINCT ORGAO, UNIDADE FROM TESTE
Where the following result is generated:
Órgao Unidade
1 2
1 3
1 4
1 5
Four records of the same organ are returned, but with different units. What I wanted was to return only one row with 2 columns, the first organ (1) and the second Unit (2,3,4,5) separated by commas.
How can I do that? Thanks in advance.
worked out thanks
– Arthur Moraes