then we can represent with 1 table it self,
E(A,B,C,A) ---> A is a foreign key, ==> E is both parent table and child table.
But there is some restriction " First insert the row which have a NULL in the Foreign Key ", then you can easily insert the remaining rows