1
Good afternoon, you guys. I have a hard time making a select on a DB postgres here.
For some reason, the programmer invented to create a field where if the user input two notes at the same time, the system saves in the bank only one line for that release but separating the two notes by a comma in the recn_numerodcto field.
Therefore, if I run select below in the bank,
select recn_data, recn_unid, recn_numerodcto from recnota
The result will be:
recn_data | recn_unid | recn_numerodcto
25-09-2018 | 001 | 123, 321
Is there a way for me to break this result to generate a line for each note? Ex:
recn_data | recn_unid | recn_numerodcto
25-09-2018 | 001 | 123
25-09-2018 | 001 | 321
Good morning. It worked great with "unnest". It helped a lot. Thank you
– Jonathan Mathes