Hello @god_prophet I think, the error is in the SELECT clause. The STRING_AGG() function requires that you specify a delimiter for the concatenated string. In your query, you have not specified a delimiter, so PostgreSQL is throwing a syntax error.To fix the error, simply add a comma and a single q...