這只是一篇文記,我不打算詳細說明
主要功能就是把某一個表的資料參照過來做更新
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);
隨機文章
- 你用了最不安全的密碼嗎? (2012-10-27)
- 85句管理名言 (2009-03-15)
- AT&T 伺服器亂擋信 (2018-01-26)
- 想到父子詩…故事兩則 (2017-02-17)
- Mobile01 業代實在是太誇張了 (2015-09-03)








