ALTER TABLE child_table ADD CONSTRAINT `FK_Reference_2` FOREIGN KEY (`parent_id` ) REFERENCES parent_table (`parent_id` ) ON DELETE CASCADE;
posted on 2017-10-28 09:21 大爱无情 阅读(177) 评论(0) 编辑 收藏 举报