Primary And Foreign Keys Are Like A Parent - Child

a: Primary and foreign key ~
b: a Parent - Child relationship

What: "The basic rule of thumb is that Primary and Foreign keys are like a Parent - Child relationship. The Child stores the Parent's id. This way each Parent can have multiple Children. It can get a WHOLE lot more complicated, but this will give you a very good starting approach to most of your database solutions."

Useful?
Writer: Michael Rodrigues
LCC: QA
Where:
Date: Dec 16 2011 7:36 PM


No critique for this page.
Feel free to be the first


Please review the linked page for context.
If you can think of something better than this,
please add it to the database

Name:
required
Contact:
(email or url) optional
Topic:
Comment:

This is an anti-spam device. Are you Human?

If so, please click the circle next to 'Yes' to submit your comment