hello all,
I have a table with the following columns
ContractID
CostValue
CostType - string
The contractID is not unique.
What I am trying to do is for each contractID I want the cost type
For example if I had 4 rows
ContractID CostType Cost
1 a
1 b
1 c
1 d
I want the following returned from a select statement:
Contact ID CostType Cost
1 a,b,c,d
Can anyone suggest on how I could do this?
Thanks for your help

I have a table with the following columns
ContractID
CostValue
CostType - string
The contractID is not unique.
What I am trying to do is for each contractID I want the cost type
For example if I had 4 rows
ContractID CostType Cost
1 a
1 b
1 c
1 d
I want the following returned from a select statement:
Contact ID CostType Cost
1 a,b,c,d
Can anyone suggest on how I could do this?
Thanks for your help
