I find that the following does not work in creating a SQL DataBase.
In particular in the IBConsol table CHILD does not show as being dependant upon table PARENT nor does table GCHILD show as being dependant upon table CHILD.
ALTER TABLE CHILD ADD CONSTRAINT FOREIGN KEY (P_NO) REFERENCES PARENT (P_NO);
ALTER TABLE GCHILD ADD CONSTRAINT FOREIGN KEY (C_NO) REFERENCES CHILD (C_NO);
Any suggestions anyone?