jayakrishnan Morayur

jayakrishnan Morayur

  • NA
  • 218
  • 213.2k

Multiplication of two colomns

Jul 22 2011 4:28 AM

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)