SQL Server 2019: Error when attempting to use STRING_AGG with ordering in a subquery
👀 Views: 3
💬 Answers: 1
📅 Created: 2025-06-05
sql-server string-agg subquery
I'm facing an issue while trying to aggregate strings using `STRING_AGG` with an `ORDER BY` clause inside a subquery. The goal is to get a concatenated list of ...