【发布时间】:2020-08-05 05:17:27
【问题描述】:
update tabel1 t1 set column5 = t2.column1, column2 = 0
from table1 t
join table2 t2 on t2.column3 = t.column3
left join table3 t3 on t3.coulmn4 = t.column4
where t3.column5 is null
【问题讨论】:
标签: sql postgresql join sql-update