Ok i think the table names i've used have been misleading for you.
Table : Animal
Fields : Id, Name, NumOfLegs
Table : Dog
Fields : Id, AnimalId, IsCarnivore
Table : Rabbit
Fields : Id, AnimalId, HasFloppyEars
So we've got three tables. In object orientated programming you'd have a parent class "Animal" and then two sub class's "Dog" and "Rabbit". Should i in my database schema also have three tables as above or should i have two tables like this
Table : Dog
Fields : Id, Name, NumOfLegs, IsCarnivore
Table : Rabbit
Fields : Id, Name, NumOfLegs, HasFloppyEars
Thanks,
Tim.