Our database is on Ingres II 10.0.0 (su9.us5/132). As such, it is missing many useful functions like stuff, coalesce, etc that make merging multiple rows of data into one column supremely difficult.
There was this: How to GROUP_CONCAT in Ingres? but that solution isn't possible with how our data is structured.
Essentially there is a table that has a reference number and each row can contain that reference number multiple times if they have multiple statuses.
For example:
123 ABC
123 DEF
123 GHI
189 ABC
189 GHI
I'm pulling data from multiple tables into the one select statement, and this is just part of the data I am after. So I want the 'ABC', 'DEF', 'GHI' for example to be selected into one column, rather than ending up with three rows of the duplicate person for each status they have.
I am yet to find an option that can work.
Any ideas would be greatly appreciated.
Thanks.