📅  最后修改于: 2022-03-11 15:04:52.554000             🧑  作者: Mango
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)