Den tilsvarende funktion kunne være STRING_AGG for SQL Server 2017 og nyere. Bemærk, at denne funktion ikke understøtter DISTINCT-filtrering.
select QUESTION_ID, ANSWER_ID, STRING_AGG(USER, ', ') as USER
from t1
group by QUESTION_ID, ANSWER_ID
https://docs.microsoft.com/en-gb/sql/t-sql/functions/string-agg-transact-sql?view=sql-server-2017