Hi there,
I have a (given) table with the following structure:
invoice no; amount
1 ; 200
1 ; 0
2 ; -10
2 ; 0
3 ; 50
3 ; 25
Now I want to make a query that pulls this result:
Desired Result:
invoice no; amount
1 ; 0
2 ; 0
3 ; 25
But I don't know how. Any suggestions?
Pampers![[afro] [afro] [afro]](/data/assets/smilies/afro.gif)
Keeping it simple can be complicated
I have a (given) table with the following structure:
invoice no; amount
1 ; 200
1 ; 0
2 ; -10
2 ; 0
3 ; 50
3 ; 25
Now I want to make a query that pulls this result:
Desired Result:
invoice no; amount
1 ; 0
2 ; 0
3 ; 25
But I don't know how. Any suggestions?
Pampers
![[afro] [afro] [afro]](/data/assets/smilies/afro.gif)
Keeping it simple can be complicated