Biggest part of designing a DB is learning about normalization and normal forms.
I think you should have an attribute like "active" and set animals to be shown active and the others not.
What attribute are you using as the primary key/foreign key? Or are you just comparing id's?
The second table should have an attribute/property that is linked to an attribute/property of the first table.