TSQL STRING_AGG statement
\nSELECT sell_date, COUNT(DISTINCT(product)) AS num_sold, \n    STRING_AGG(product,\',\') WITHIN GROUP (ORDER BY product) AS products\nFROM \n(SELECT DISTINCT s
```\nSELECT sell_date, COUNT(DISTINCT(product)) AS num_sold, \n    STRING_AGG(product,\',\') WITHIN GROUP (ORDER BY product) AS products\nFROM \n(SELECT DISTINCT sell_date, product FROM Activities) T\nGROUP BY sell_date\n```
[]