I am trying to create a proper parent/child relationship within my data model. I have a typical one to many relationship between the parent and children.
I am wondering if I have parents that know about their children, is it 1) ever acceptable and 2) a good idea for each child to specifically know about its parent. (a child can only have one parent in my case)
parent
-------------
PARENT_ID
OTHER_COL
...
child
-------------
CHILD_ID
PARENT_ID // <-- Should this column be here?
OTHER_COL
...
parent_has_children
--------------------
PARENT_ID
CHILD_ID
The advantage I see for having the parent column in the child, is for easily retrieving the parent from a child. But, is this just lazy design?
Thanks in advance.