Databases · Middle · Question 57 of 75

What is polymorphic association, and what's its problem?

Explanation

Alternatives: separate nullable foreign keys with a CHECK that exactly one is set, or a separate junction table per parent type.

Further reading

Problem with a question

Databases · Middle · question 57

Test yourself

Take the Databases · Middle quiz: questions and options are shuffled, and you get a review of your mistakes at the end.

Take this quiz