如图 当红色条件成立时执行 蓝色update 语句(when matched then)内容 当红色条件不成立时执行绿色insert语句(wehn not matched then)内容 注:修改语句中不可修改用于条件对比的字段