0 0 votes student-id is a primary key in one table similarly student-id is a foreign key in another table so by using the delete cascade method if we del. an student-id in one table then automatically student-id is deleted in another table. my que is that after deleting the student-id whether the foreign key becomes valid or invalid??? Databases + – mani8466 556 views answer comment Share Follow Print See all 3 Comments 3 3 Comments reply Shaik Masthan commented Aug 25, 2018 reply Follow flag @mani8466 delete means deleting tuple ( even though you delete whole tuples also, schema doesn't change i.e., still Foreign Key Constraint exist ) but you are assuming that from the schema, that field removing ===> It is altering the table. 0 0 replyShare mani8466 commented Aug 25, 2018 reply Follow flag so foreign key is valid... 0 0 replyShare Shaik Masthan commented Aug 25, 2018 reply Follow flag yes... 0 0 replyShare Please log in or register to add a comment.