In your table 2 I expect invoice no should be 1 for both, and you need a separate column for line no, being 1 or 2. Then you group by invoice no and it should work
↧
In your table 2 I expect invoice no should be 1 for both, and you need a separate column for line no, being 1 or 2. Then you group by invoice no and it should work