4
Reply

Multiplication of two colomns

jayakrishnan Morayur

jayakrishnan Morayur

Jul 22 2011 4:28 AM
1.4k

My table is bellow 

productId       productQty        productRate
1        10   100
2        20           200
3        30   300    
4        40           400
5        50   500    

I want  @qtyRate =  productQty*
productRate   

then sum the @qtyRate using sqlserver 2005


Answers (4)