5 months ago

How to display animals with all informations?

Posted 5 months ago by Konstruktionsplan

Hello! :)

I have four Tables. "animals", "races", "animal_classes" and "animal_class_race".

Races and animal_classes are boring, only with "id" and "name".

The "animal_class_race" has: "id", "race_id", and "animal_class_id". Let us say: 1, 1, 1, and the timestamps

In "animal"-Table i have "id", "name" and "animal_class_race_id". Let us say: 1, bello, 1

What is the best Way to show this animal with informations from "race" and "animal_class"?

Thank you and happy christmas! :)

Please sign in or create an account to participate in this conversation.