Skip to content
Advertisement

Tag: rows

Separate merged SQL rows with a comma

I’m having a bit of trouble getting my retrieved values from an SQL query into the correct format. I’ve managed to join multiple rows into the one value, however I am not sure how to make it separate each of the values with a comma. Essentially I need all the ID’s of a product to be retrieved as, for example,

Advertisement