Table A:
| ColA | ColB |
| A | John |
| A | Bill |
| B | Henry |
| C | Keith |
| C | Luke |
| C | Peter |
Table B:
| ColA | ColB |
| A | John, Bill |
| B | Henry |
| C | Keith, Luke, Peter |
I wan to write a query (without looping/cursor if possible) that can extract data from Table A and return resultset as Table B. Anyone who has done something similar before? i wanted to use COALESCE syntax, but no idea how to do it in this situation... Any suggestion will be much appreciated. Thankq.