✅[MySQL] Easy Solution using group_concat()
GROUP_CONCAT() function\n\nMySQL GROUP_CONCAT() function eturns a string with concatenated non-NULL value from a group.\nReturns NULL when there are no non-NULL
##### GROUP_CONCAT() function\n\nMySQL GROUP_CONCAT() function eturns a string with concatenated non-NULL value from a group.\nReturns NULL when there are no non-NULL values.\n\n\n```\nselect sell_date, \n\tcount(distinct(product)) as num_sold, \n\t\tgroup_concat(distinct(product)) as products\nfrom activities\ngroup by sell_date order by sell_date;\n```
['MySQL']