Answers for "how to update and join in database"

SQL
1

update with join

UPDATE
        first_table ft
        JOIN second_table st ON st.some_id = ft.some_id
        JOIN third_table tt  ON tt.some_id = st.some_id
        .....
    SET
        ft.some_column = some_value
    WHERE ft.some_column = 123456 AND st.some_column = 123456
Posted by: Guest on January-21-2021
0

update join

//mysql
UPDATE store_fars
        INNER JOIN
   fake ON store_fars.id = fake.id
SET 
    fake.id = store_fars.id
Posted by: Guest on October-21-2021

Code answers related to "SQL"

Browse Popular Code Answers by Language