Skip to content

Latest commit

 

History

History
22 lines (15 loc) · 378 Bytes

File metadata and controls

22 lines (15 loc) · 378 Bytes

Show ResultSet Types:merge_insert

oracle

merge into t_B_info_bb b
using t_B_info_aa a
on (a.id = b.id and a.type = b.type)
when matched then
update  set b.price = a.price

when not matched then
insert (id, type, price) values (a.id, a.type, a.price) 

显示前:

png

显示后:

png