update 一、案例 二、with更新语句 一、案例 以pg库为例,oracle也一样,只是数据类型稍有不同 create table test(id numeric,name character(100)); create table test1(id numeric,name character(100)