title: Searching SQLite database according to user input
body: <p>I'm creating an Android app that will search for recipes according to ingredients that the user chooses. For the life of me I can't figure out the query necessary for this.</p>
  
  <p>I have a Recipe and an Ingredient table, as well as a RecipeIngredient junction table which has RecipeId and IngredientId columns that serves as a connection between recipes and the required ingredients.</p>
  
  <p>For example, let's say the user chooses 3 ingredients and clicks search, what is the required query in order to display the recipes that use those 3 ingredients?</p>
  
  <p>I've been trying to figure it out, but I don't have the slightest idea of what I need to do.</p>