• table a

    ID column (pk)

    2

    table b

    ID(pk) AID(fk) name

    1 2 ba

    2 2 cr

    3 2 de