is it possible using mysql alone

From: Date: Sun, 27 Oct 2002 17:35:10 +0000
Subject: is it possible using mysql alone
Groups: php.general 
Request: Send a blank email to php-general+get-121602@lists.php.net to get a copy of this message
Hi, I want to know if it is possible to do the following in Mysql 3.xx or do i have to write out a php script. table1 has a columns A,B,C table2 also has columns A,B,C. The data in column A is differnt in both tables (though 90% is identical) i want to update B,C in table2 where table1.A = table2.A. ANY CLUES ? here is what i tried - insert into table1 (B) select t1.B from table1 t1, table2 t2 where t1.A = t2.A THIS is only for column B- but it tells me i cant have table2 in the from clause thx in advance gamin.

« previous php.general (#121602) next »