這只是一篇文記,我不打算詳細說明
主要功能就是把某一個表的資料參照過來做更新
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);
隨機文章
- 人肉搜索與網路匿名性 (2009-12-13)
- 從Dell網路商店連續網路標價錯誤 看Dell電腦危機處理 (2009-07-08)
- windows 10 公用啟用序號 (2019-08-31)
- 原價屋組的電腦比較容易壞?人品賭輸? (2016-12-05)
- 創意私房 美國主機 阻擋 我思 (2024-04-10)