ExamVeda
Login
Home
This question belongs to MySQL MySQL Miscellaneous
MySQL Miscellaneous
?

What is the kind of delete when deletion of an employee from the table also deletes that employee from another table?

Answer & Solution
Correct Answer: Option D
Imagine you have two tables: one for "Employees" and another for "Projects".
Each employee can work on multiple projects.
Now, let's say you want to delete an employee from the "Employees" table.
A cascaded delete is like a domino effect. When you delete the employee, the database automatically deletes all the entries related to that employee in the "Projects" table.
So, the answer is Option D: cascaded.
Examveda
Question posted by Examveda
Community

Join the Discussion

No comments yet Be the first to discuss this question.