Hi
I am attempting to return the data from a sub query in this sort of manner:
SELECT tblC.C_ID, (SELECT tblTemp.data
FROM tblTemp
Where C_ID = [Main Query: tblC.C_ID])
FROM tblC
Within the Sub query i want to make all of rows returned from the tblTemp.data to be returned in one value (delimited by commas) on the main query.
Plus the [Main Query: tblC.C_ID] is the variable tblC.C_ID
Any ideas on how i can do this.
Thanks B
I am attempting to return the data from a sub query in this sort of manner:
SELECT tblC.C_ID, (SELECT tblTemp.data
FROM tblTemp
Where C_ID = [Main Query: tblC.C_ID])
FROM tblC
Within the Sub query i want to make all of rows returned from the tblTemp.data to be returned in one value (delimited by commas) on the main query.
Plus the [Main Query: tblC.C_ID] is the variable tblC.C_ID
Any ideas on how i can do this.
Thanks B