I have a situation that would make it much easier .. if I could return the data of a specific column in a single line:
For example:
Table A:
Codigo | Descricao
-------------------
1 | Descricao 1
2 | Descricao 2
3 | Descricao 3
I would like to build an sql that would return me on a single line like this:
1,2,3
Only the code column ..
Does anyone have any idea how it is possible to do this .. and if it is possible?