I scraped some data from a website, where I wanted the data to look like this:
company_name | location | tags
----------------------------------
company1 | USA | tag1, tag2
company2 | China | tag3, tag4, tag5
But instead the scraper pulled data in this format:
company_name | location | tags
----------------------------------
company1 | USA | tag1
company1 | USA | tag2
company2 | China | tag3
company2 | China | tag4
company2 | China | tag5
How would I turn the current data I have what I want above?
GROUP_CONCATon the tags.