1
Below I created 4 dummy tables for illustration
The Teacher and Student tables are referenced by Address and Documents. However, how can I create a foreign key in the last two tables referencing Teacher OR Student? If I create a key for each, can the bank be inconsistent? There is another way?
I didn’t even think about it haha I’ll implement and come back to mark the answer
– Jhonatan Pereira