I have 4 tables: tb1, tb2, tb3, tb4.
I want to return all the columns in 4 tables:
SELECT tb1.col1a, tb1.col1b, tb2.col2a, tb3.col3a, tb3.col3b, tb4.col4a
FROM tb1, 
INNER JOIN tb2 ON tb1.col1a=tb2.col2a
INNER JOIN tb3 ON tb1.col1a=tb3.col3a
INNER JOIN tb4 ON tb3.col3a=tb4.col4a
The result is a new table, we'll call it be tbX.
Now, I want to update a column col3b of tb3 with condition to base on tbX, what do I have to?
 
     
    