If I have table like:
 
 CODE QTY
 100      30
 200      20
 300      25
 
 and I want a result like:
 
 CODE QTY SUBTOTAL
100      30     30 
 200      20     50   (this come from 30+20)
300      25     75   (this come from 50+25)
 
 How to write query like that?

                
---------------------------------
 Yahoo! FareChase - Search multiple travel sites in one click.  

Reply via email to