Hello... newbie here. I'm just learning SQL so bear with me please ....
I'm trying to find a way to do a "group_concat" function but it appears to be MySQL specific. Is there a way to do something similar but with Oracle SQL? I need to do this in straight SQL (no procedures).
Example:
Citizenship,Fvisa 000338854 PBAC
Citizenship,Fvisa 000338854 UGRD
Admissions,Testc 000341766 PBAC
Admissions,Testc 000341766 PBAC
Admissions,Testc 000341766 UGRD
Admissions,Testc 000341766 LAWD
Desired Output:
Citizenship,Fvisa 000338854 PBAC/UGRD
Admissions,Testc 000341766 PBAC/UGRD/LAWD
I've searched high and low for over an hour...
Any help appreciated.
I'm trying to find a way to do a "group_concat" function but it appears to be MySQL specific. Is there a way to do something similar but with Oracle SQL? I need to do this in straight SQL (no procedures).
Example:
Citizenship,Fvisa 000338854 PBAC
Citizenship,Fvisa 000338854 UGRD
Admissions,Testc 000341766 PBAC
Admissions,Testc 000341766 PBAC
Admissions,Testc 000341766 UGRD
Admissions,Testc 000341766 LAWD
Desired Output:
Citizenship,Fvisa 000338854 PBAC/UGRD
Admissions,Testc 000341766 PBAC/UGRD/LAWD
I've searched high and low for over an hour...
Any help appreciated.