Hi All

to many hours anyway I am struggling with what seems to be an easy task but I am stuck.

I am trying to total the fields with numbers (run + swim + bike) from a racer 
name="joe"
and insert the ammount into a field called totals in a table called runner.

UPDATE runner SET totals="SUM(run + swim + bike)" WHERE name="joe"


Any hints

M;-)

---------------------------------------------------------------------
Before posting, please check:
   http://www.mysql.com/manual.php   (the manual)
   http://lists.mysql.com/           (the list archive)

To request this thread, e-mail <[EMAIL PROTECTED]>
To unsubscribe, e-mail <[EMAIL PROTECTED]>
Trouble unsubscribing? Try: http://lists.mysql.com/php/unsubscribe.php

Reply via email to