Find a value which contains in ALL rows of a table
问题 I need to select all values which are contained in ALL rows of a table. I have table “Ingredient” and ProductIngredient(there I have a recipe of a product). Ingredient | ingredient_id | name | price | | 1 | Bla | 100 | 2 | foo | 50 ProductIngredient. | Product_id | ingredient_id | 1 | 1 | 1 | 2 | 2 | 1 The output should be | 1 | Bla | as it is in all rows of ProductIngredient. SELECT DISTINCT Ingredient_Id FROM Ingredients I WHERE Ingredient_Id = ALL (SELECT Ingredient_id FROM