Answers for "update quert mysql"

SQL
0

Update Select Mysql

UPDATE
    `table1` AS `dest`,
    (
        SELECT
            *
        FROM
            `table2`
        WHERE
            `id` = x
    ) AS `src`
SET
    `dest`.`col1` = `src`.`col1`
WHERE
    `dest`.`id` = x
;
Posted by: Guest on October-02-2021

Code answers related to "SQL"

Browse Popular Code Answers by Language