Aggregate Diagnoses Into a Single Row

Postgres Engine
Database Schema
Question (#22)
Same as question 21, but the result must be returned in a single row (all diagnoses collected into one row, separated by commas).
Expected Output
Query Editor
User Output Ready
Execute a query or press Ctrl+Enter to view results...
Databases & Questions
Hint
PostgreSQL has an aggregate function that joins values from many rows into one string.
Official Solutions
Select a solution...