---
title: "Thành Bùi (@thanhbn99) | Hashnode"
description: "Clean. Read the latest articles by Thành Bùi on Hashnode."
url: "https://hashnode.com/@thanhbn99"
---

@thanhbn99

# Thành Bùi

@thanhbn99 · Joined June 2021

Clean

### [Aggregate Functions Trong Postgres](https://thanhbn.hashnode.dev/aggregate-functions-trong-postgres-1?utm_source=hashnode&utm_medium=feed)

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...

1 min read · [thanhbn.hashnode.dev](https://thanhbn.hashnode.dev/aggregate-functions-trong-postgres-1?utm_source=hashnode&utm_medium=feed)

[Jul 10, 2021](https://hashnode.com/posts/aggregate-functions-trong-postgres-1/60e91276c551f16b0f846f79)
