Hello,
My table has following data.
ItemId BatchNo Qty
1 B101 100
1 B102 250
1 B101 50
2 B102 150
2 B103 200
2 B103 100
Now I want to fire the query which gives me following output:
ItemId BatchNo Qty
1 B101 150
B102 250
2 B102 150
B103 300
Kindly help me if u know. Thanks
My table has following data.
ItemId BatchNo Qty
1 B101 100
1 B102 250
1 B101 50
2 B102 150
2 B103 200
2 B103 100
Now I want to fire the query which gives me following output:
ItemId BatchNo Qty
1 B101 150
B102 250
2 B102 150
B103 300
Kindly help me if u know. Thanks
Comment