Consider the following queries:
create table foo (id int primary key auto_increment, name int);
create table foo2 (id int auto_increment primary key, foo_id int references foo(id) on delete cascade);
Which of the following statements is true?
Correct Answer: If a row with id = 2 in table foo is deleted, all rows with foo_id = 2 in table foo2 are del
Explanation:
Note: This question has more than 1 correct answers
Note: This Question is unanswered, help us to find answer for this one
More MySQL MCQ Questions