group_concat use in in() code example
Example 1: how to use group_concat in sql server
SELECT STRING_AGG(column_name, ',') AS Result
FROM table_name
Example 2: group_concat mysql
GROUP_CONCAT(expr);
SELECT STRING_AGG(column_name, ',') AS Result
FROM table_name
GROUP_CONCAT(expr);