Check out example codes for "mysql UPDate with enner join". It will help you in understanding the concepts better.

Code Example 1

UPDATE T1, T2,
[INNER JOIN | LEFT JOIN] T1 ON T1.C1 = T2. C1
SET T1.C2 = T2.C2, 
    T2.C3 = expr
WHERE condition

Learn ReactJs, React Native from akashmittal.com