I need a little help with a query I'm trying to run.
Basically I have two columns (trying to keep it simple) and I need to merge and concat These two columns are created from different tables with the following query:
select tmatter, tkinitb
FROM timecard, timekeep, matter
where ttk = tkinit
and mstatus = 'OP'
group by tkinitb, tmatter
order by tmatter ASC
tmatter | tkinitb
1 | A
1 | B
2 | C
2 | D
I'm looking to have the results like this:
tmatter | tkinitb
1 | A, B
2 | C, D
I'm not sure how to merge the different cells on the like cells.
Any help would be greatly appreciated.