If I have a base
table and 2 or more tables that inherit from it, child1
and child2
, I can insert a record into a child table and it shows up in base
as you would expect.
However what I want to know is, is it possible to have a record that is present in both child1
and child2
?
As an example say base
is vehicle
, child1
is boat
and child2
is car
, And I want to insert an amphibious car (effectively both a boat and a car).
I know I could do this the normal way, by having relationships but in theory it could be neat if it's possible to do as described.