JPCogAdmin
Programmer
Trying to update one table from the value of another table.
The relationship is one-to-many. Here is my code:
update table1 as t1 set field4 = (select field7 from table2 as t2 where t1.id = t2.id )
Table1 has many and table1 has one. Thanks.
The relationship is one-to-many. Here is my code:
update table1 as t1 set field4 = (select field7 from table2 as t2 where t1.id = t2.id )
Table1 has many and table1 has one. Thanks.