How can I update the values of a column in one table from the values in a second table where there is are matching columns in the two tables using mysql. Table1 has columns DonorID and DonorPhone. Table2 has columns PersonID and PersonPhone. I want to sent Table1.DonorID = Table2.PersonID where Table2.PersonPhone = Table1.DonorPhone. Does UPDATE do this?
Eldon Ziegler ProAtion Systems, Inc. [EMAIL PROTECTED] http://www.proation.com --------------------------------------------------------------------- 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