I have two tables
1)Incident
GID UID <br>
------------ ----------------------
178175721842183084 INC 1121035756
2)Incident_crew
INCIDENT_GID NAME
------------------ -----------------------------
178175721842183084 KENNEDY,KELLY
178175721842183084 GRESLY,ANTHONY
Incident has a primary column called GID and Incident_crew is refering to this GID with the name Incident_GID. Incident_crew has two or more rows which are refering to same Incident_GID thus returns more than two rows. In Incident_crew table I have a column named NAME, I want to combine NAME from multiple rows and return it as one row seperated by semicolonenter image description here.
The result should look something like below:
INCIDENT GID NAME
------------- ------------------ ------------------------------
INC 1121035756 178175721842183084 KENNEDY, KELLY;GRESLY, ANTHONY