這只是一篇文記,我不打算詳細說明
主要功能就是把某一個表的資料參照過來做更新
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);
隨機文章
- 卡刷MIUI8 在我的紅米note2 手機上 (2016-09-17)
- 地心冒險2 神秘島觀後感 (2012-06-05)
- 威寶電信半價上網暢飽375方案停用囉! (2010-12-02)
- 台灣職棒假球簽賭案之我思 (2009-10-31)
- facebook 開心農場快速升級 (2009-12-08)








