這只是一篇文記,我不打算詳細說明
主要功能就是把某一個表的資料參照過來做更新
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);
隨機文章
- 有夠腦殘的聯邦信用卡中心 (2013-03-25)
- 2007台北車展 雷歐帝斯作品 5/6 (2008-01-03)
- google apps的gmail圖示可以自訂 (2009-01-13)
- NDA名詞解釋 (2011-03-02)
- MUZEE魔力影音棒測試 (2010-12-16)