這只是一篇文記,我不打算詳細說明
主要功能就是把某一個表的資料參照過來做更新
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);
隨機文章
- 中華電信降價20%玩假的?I think so. (2011-12-22)
- 卡奴協商無標準 可求助免費諮詢 (2007-12-03)
- 在原價展組裝世博通代理的先馬機殼發爐事件之我思 (2015-10-24)
- mysql資料庫亂碼問題處理 (2010-02-19)
- Zoom / Webex / Google Meet / MS TEAMS / Skype WFH 免費視訊會議軟體 評估 (2021-05-24)








