My understanding of foreign key relationships in tables is that a foreign key is a column in a child table and is a primary key in the parent table.we know that primary keys are unique and not null.I have some doubts and require clarification. Is it necessary that when a parent table has data the child should also has to have related data? can child table have nulls(foreign key nulls). why is there a provision for foreign keys to be null.
I have not been able to get proper understanding of all of this.
help me in making me understand these concepts better. thanks in advance.