I'm learning SQL and I'm stuck on one of the review questions and can't find an answer in the text book. When you 'delete cascade'
What is it 'used' with?
- a. it is used together with a primary key constraint
- b. it is used together with a unique constraint
- c. it is used together with a referential constraint
- d. it is used together with a type constraint
I want to say primary key because it is going to identify the correct tuple when it cascades? Am I right/wrong, I just don't know which one is right.
Thanks.