Yes, you can do: update whatever set C=A*B+3 where whatever
On Wednesday 24 October 2001 07:11 pm, [EMAIL PROTECTED] wrote: > Hello, > > I am wondering if there is a way to make automatic computations into a > particular column, for instance: > > Table ONE has column's A, B and C. > > When I post data to A and B, can I have C automatically calculate A / B and > post that answer onto column C? > > Again, I want this to happen automatically, I don't want to have to issue a > SELECT statement for this procedure. > > Thanks for your help. > > David > > > > --------------------------------------------------------------------- > 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 --------------------------------------------------------------------- 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