這只是一篇文記,我不打算詳細說明
主要功能就是把某一個表的資料參照過來做更新
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);
隨機文章
- It’s a new start. (2011-06-16)
- 小米手環預約 VS 紅米Note 4G增強版 (2014-11-29)
- 藝人店 欣亞 PTT 被大量水桶 (2017-03-11)
- 面對個資,資料都要加密,資料保護自己來 (2013-02-19)
- 光陰的故事完結篇 (2009-02-18)








