let's say that I have a table with columns like this:
| Name | Cat_id |
I cannot remember the function which can build a varchar like this
1,24|4,56|5,67
where the number before the comma is the Cat_id
, and the number after comma is the count of rows with that ID. Any ideas ?