I am trying to implement a database that has a table structure similar to below, where 2 tables are a subtype of a table.
An animal has a primary key, and dog and cat