I have two tables Stock and Sale
Stock
id Name size Qty
1  box1  10  100
2  box2  12  200   
3  box3  14  500
4  box4  16  700
Sale
id Name size Qty
1  box1  10  1
2  box2  12  2  
3  box3  14  5
4  box4  16  7
I want this result after Subtract Qty
Stock
id Name size Qty
1  box1  10  99
2  box2  12  198  
3  box3  14  495
4  box4  16  693
Help!
 
     
     
     
     
    