-3
I’ll try to help you with what I understand from your question. In database we have the concept of primary key and foreign key, primary key is a unique identifier of a record of a table. The foreign key is a reference to the primary key of another table. Having a basic notion of this you can relate different tables through primary keys and foreign keys. And to help with the part of Internet joins I will leave the link of w3schools https://www.w3schools.com/sql/sql_join_inner.asp
But the table is related.
LOCACAO > VEICULO > TABELA_VEICULO > TABELA
. Just understand how each one relates and do your JOINS.– fernandosavio