這只是一篇文記,我不打算詳細說明
主要功能就是把某一個表的資料參照過來做更新
UPDATE file_record
SET tid = (select cdb_posts.tid from cdb_posts where cdb_posts.pid=file_record.pid)
WHERE EXISTS (select cdb_posts.tid from cdb_posts where cdb_posts.pid=file_record.pid);
隨機文章
- 只有遠傳(很)沒有距離 (2011-03-18)
- 地圖日記進步了 (2011-06-25)
- 中華電信取消60個小時免費上網,可以通知一下嗎? (2013-02-25)
- 再回應一些台灣讀者給我的「婊文」 (2008-01-14)
- ProntonVPN 初步測試 (2022-02-27)








