Oracle 之update
1、根据条件更新表里的某个字段值,如下:update test t set t.b_salary =case when t.b_id = 5 then 5000 when t.b_id = 6 then 6000 when t.b_id = 7 then 7000endwhere t.b_id in (5,6,7)说明: where条件部分一定要把记录限制为只需要更新的部分,否则其他部分会被更新为空。2、2表关联update某个字段的a)、一对一关联u...