📜  mysql 更新与连接 - SQL 代码示例

📅  最后修改于: 2022-03-11 15:05:00.289000             🧑  作者: Mango

代码示例3
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)