Check out example codes for "how to use group_concat in sql server". It will help you in understanding the concepts better.

Code Example 1

SELECT STRING_AGG(column_name, ',') AS Result
FROM table_name

Learn ReactJs, React Native from akashmittal.com