這只是一篇文記,我不打算詳細說明
主要功能就是把某一個表的資料參照過來做更新
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);
隨機文章
- CL RF 字元怎麼移除 (2017-05-09)
- TrueNAS Core NextCloud 簡測心得 (2021-07-21)
- XP 不死只會凋零 (2014-03-02)
- Server Zoo 主機動物園又出包,資料庫連線超過上限 (2014-12-02)
- ASUS D820MT 安裝 XenServer 6.5 Dual Gigabit 就只會出現1個 NIC (2020-04-20)








