select Col1, Col2, Col3, STRING_AGG( Col4,',') WITHIN GROUP (ORDER BY Col4) as AggregatedColumn from MyTable
group by Col1,Col2,Col3
select Col1, Col2, Col3, STRING_AGG( Col4,',') WITHIN GROUP (ORDER BY Col4) as AggregatedColumn from MyTable
group by Col1,Col2,Col3
SELECT txt.TEXT AS [SQL Statement], qs.EXECUTION_COUNT [No. Times Executed], qs.LAST_EXECUTION_TIME AS [Last Time Executed], ...