I’m trying to build a sql that will return the customers for a specific invoice as a list.
To better explain myself I’ve attach a diagram of what I’m trying to accomplish.

AS you can see from the SQL Result I would like the SQL to show the customers as a list for each invoices.number
How would I accomplish the SQL (for SQL SERVER)?
1 Answer