這只是一篇文記,我不打算詳細說明
主要功能就是把某一個表的資料參照過來做更新
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);
隨機文章
- 超爛的HP Server維護服務 (2010-11-01)
- 免信用卡~免會員~免搭配消費~兩人用餐~一人免費 (2007-11-14)
- Chrome / Edge / Firefox 三個瀏覽器 可以共用的快捷鍵 (2024-10-29)
- 謝長廷嗆扁:再管下去 台灣一無所有 (2007-11-14)
- 超爛的愛買配送服務 (2017-05-22)