this is my scenario: I have a table that holds recipes, and another that holds ingredients linked to a recipe (recipe_ingredients).
TABLE RECIPE_INGREDIENTS:
ID RECIPE_ID INGREDIENT_ID
1 1 6
2 2 3
3 2 4
in my case, I want to return all recipes with some ingredients introduced by user (could be one or more), in this example let's say all recipes with ingredients 3 and 4. Obviusly when I only query for one ingredient there's no problem, but I don't know how achieve that with more than one... Thanks all in advance! any advice is welcome!