I have 2 tables in my bank, Categories and Automoviles. The Categories table has a PK ID_category and Name. Automobiles already has a PK ID_automoveis and the other columns that make up this table INCLUDING the FK Category_ID as you can see in the image below:
I'm starting my studies in databases with mysql but I'm having a lot of difficulties in relational and inner join models. If something is wrong I can change it too!
This bank is manipulated by a system in PHP.