Answers for "update query with join sql in mysql"

SQL
3

mysql update with join

UPDATE T1, T2,
[INNER JOIN | LEFT JOIN] T1 ON T1.C1 = T2. C1
SET T1.C2 = T2.C2, 
    T2.C3 = expr
WHERE condition
Posted by: Guest on December-31-2019
0

join in update query in mysql

UPDATE employees
    LEFT JOIN
    merits ON employees.performance = merits.performance 
SET 
    salary = salary + salary * 0.015
WHERE
    merits.percentage IS NULL;Code language: SQL (Structured Query Language) (sql)
Posted by: Guest on February-09-2021

Code answers related to "update query with join sql in mysql"

Code answers related to "SQL"

Browse Popular Code Answers by Language