Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
同じ列 (サービス、宛先、...) を持つ 2 つのテーブル T1 と T2 があります。T1 (サービス、宛先) の複合主キーです。
アドバイスをお願いします、
前もって感謝します
私はこれがあなたが求めているものだと思います:
update t1 set col1 = t2.col1, col2 = t2.col2, etc from t2 where t1.service = t2.service and t1.desti = t2.desti