Id like to insert the data below into the tables.
In this case a CarManager
can have N CarType
which itself have NCarBrand
.
Is it possible to insert the green and blue data while having the usual FK/PK relationship without having to insert everything manually?
I understand how to query an insert from multiple tables into a single one, but i dont quite get how to do the same backwards without having to manually insert everything and manage the relationships.