how to use group_concat in sql server code example Example: how to use group_concat in sql server SELECT STRING_AGG(column_name, ',') AS Result FROM table_name