I have a table that has different names of dishes that are assigned to different diets, many times a single name of the dish has several diets. How can I get a list of dishes with the unique name and their related diets.
The fist table is a child table of the another table wich is a parent table.
For example I want to group the dish "Macarrones en blanco con
calabacin" to list the four diets asociated:
"PROTECCIรN GรSTRICA"
"ASTRINGENTE"
"INSUFICIENCIA RENAL (NO HUEVO)"
"DIรLISIS (NO HUEVO)"
I have also this table
Thank you so much for the collaboration
You should have two separate tables:
In this case using a simple dereference expression like: [dishID].[dietList], you'll be able to retrieve the diets related to each dish.
User | Count |
---|---|
40 | |
34 | |
29 | |
23 | |
17 |