One payment can have more than one invoice, so querying table or result set may bring back more than one row.
How do I stop this ?
Customer Name Payment no Invoice No
------------- ---------- ----------
Dave A 1 10
Dave T 2 10
Dave T 2 12
So I want:
Customer Name Payment no Invoice No
------------- ---------- ----------
Dave A 1 10
Dave T 2 10, 12