Mark Nordstrom wrote:How do i get tit to minus .01 fro mratio for every .01 below 50 ?
So if ColumnC=30 then it would minus .20 from ratio.
I think you meant "for every 10 below 50"... otherwise a value of 30 should subtract 200. Assuming this is what you meant...
You can use MySQL's CASE syntax:
UPDATE table
SET ratio=(CASE WHEN ColumnC>=50 THEN Column1/Columnb ELSE Column1/Columnb-.01*(50-ColumnC+ColumnC%10))
(Query untested)
EDIT: Also note that there might be a simpler way to do the math... that's just what I thought of doing off the top of my head.