Relation entre les tables

Bonjour , j’ai une table nommée categorie et une autre nommee plat comment faire cette relation : un plat est dans une categorie et une categorie peut avoir zero ou plusieurs categories
Merci

For category you can use childern and parent relationship.

inside category add two field

  • ref_parent ( a single category ,In which this categary is a childer )
  • ref_childern( a list of category , add every category here whos parent is this) this will help in searching .

I think dish is easy you just add the dish to a category . right