TBThành Bùiinthanhbn.hashnode.dev00Aggregate Functions Trong PostgresJul 10, 2021 · 1 min read · 1.String_agg ID COMPANY_ID EMPLOYEE 1 1 Anna 2 1 Bill 3 2 Carol 4 2 Dave SELECT company_id, string_agg(employee, ', ') FROM mytable GROUP BY company_id; COMPANY_ID EMPLOYEE 1 An...Join discussion
TBThành Bùiinthanhbn.hashnode.dev00Welcome to BlogJun 18, 2021 · 1 min read · Được hơmJoin discussion