postgres 多表查詢更新

更新一張表a的內容關聯其餘表做爲條件: update a set name='xx' from t1 t1,t2 t2 where t1.age=t2.age t1.name = a.name 第二種比較小白我之前的作法 update tc set task_code = 'xxxx'WHERE task_code = 'xxxxx2'AND exists (select cust_code FR
相關文章
相關標籤/搜索