/ Published in: MySQL
URL: http://answers.yahoo.com/question/index?qid=20080708150528AAU33rq
Expand |
Embed | Plain Text
-- BACKUP, BACKUP, BACKUP!! -- DELETE FROM child_table WHERE id NOT IN (SELECT id FROM parent_table);
You need to login to post a comment.
