這只是一篇文記,我不打算詳細說明
主要功能就是把某一個表的資料參照過來做更新
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);
隨機文章
- 紫玫瑰10~12 (2009-10-18)
- ASUS Eee PC正式在港發售 首批500部10分鐘內全部售罄 (2007-11-03)
- 服務超爛的國泰世華銀行 (2009-06-30)
- mysql資料庫亂碼問題處理 (2010-02-19)
- 人肉搜索技術探詢 (2011-03-05)



![[ChatGPT] 4o的圖片視覺測試](https://chihping.aflypen.com/wp-content/uploads/2024/09/eye-4367141_640-300x200.jpg)




