If you want to update the values in the table:
[tt]
UPDATE tblname SET fldname=fldname/2
[/tt]
If you want to leave the table as is, but retrieve the values divided by 2:
[tt]
SELECT fldname/2 fld_2 FROM tblname
[/tt]
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.