Hi All,
My database has 2 tables. I'm trying to update the date in one of the tables and my condition must include a reference to my second table.
I've tried 2 different ways and neither of them work. I've read the maual and have gone through through many forums but I can't seem to work out this problem.
1.update table1 set table1.value1 = CONCAT(value1, '$value1') where table1.value2=(select table2.value2 from table2 where table2.value3='$value3') and table1.value3 = '$value3' and table1.value4= '$value4'})
- update table1 set table1.value1 = CONCAT(value1, '$value1') where table1.value2=table2.value2 and table1.value3 = '$value3' and table1.value4= '$value4'})
thanks for your help,
Vivian