InterviewBuddy
All interview questions

In Backend, when is foreign key useful?

Intermediate

Answer

Use it to prevent child records pointing at nonexistent parents.