I have a question that circulates a lot in my head, I'd like to find a response that can unlock me ... in the field of database (DBMS and Modeling MPD).
Is it possible to find a circular relationship between two (or more)tables
such as:
Create Table TA ( TA_ID INTEGER not null, A SMALLINT, AA NUMERIC(5,0),TB_ID INTEGER, constraint PK_TA primary key (TA_ID) );
Create Table TB (TB_ID INTEGER not null, B SMALLINT, BB FLOAT, TA_ID INTEGER, constraint PK_TB primary key (TB_ID) );
alter TABLE TB add constraint Fk_TB_TA foreign key (TA_ID) references TA (TA_ID);
alter TABLE TA add constraint Fk_TA_TB foreign key (TB_ID) references TB (TB_ID);