Question : Calculation in sql

I have select statement that I would like to divide by one million.  I need to take the numbers in each of the 3 fields and display the end result divided by million.  i.e. 200,000 should be .2.

Current code
select amount1, amount2, amount3 from table1



Answer : Calculation in sql

Something like this:
1:
2:
3:
4:
select amount1 = convert(money, amount1 / 1000000), 
       amount2 = convert(money, amount2 / 1000000), 
       amount3 = convert(money, amount3 / 1000000)
from table1
Random Solutions  
 
programming4us programming4us