1
To build a lease, I have two tables.
The first is the contract, has some relationship fields as id_locador
, id_locatario
, id_fiador1
, id_fiador2
, among others. These fields are related to a table of people: id
, nome
, endereco
, etc..
So all the people involved in the contract come from the same table "people".
How to make this relationship?