• Good One.

    If Table2 declared as following than all 3 tables created without any issue.

    create table Table2

    ( id_tb2 int primary key references table1(id_tb1),

    value2 varchar(100))

    Thanks