這只是一篇文記,我不打算詳細說明
主要功能就是把某一個表的資料參照過來做更新
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);
隨機文章
- 健康-減肥要補充什麼維他命 (2007-11-15)
- 高鐵自肥 讓員工享有超低票價 又說這是強化服務 (2013-06-25)
- [chatGPT 測試] DSM 7 有什麼特色 (2023-03-06)
- 救救Gmail限時好康3/1 中午12點結束 (2011-03-02)
- 星光大道 2班 敗部賽-8搶3 (2007-12-16)








