View Single Post
  #2 (permalink)  
Old 11-26-2007, 08:04 PM
Dimitar
 
Posts: n/a
Default ANY answer. Re: generate shopping list based on the selected recipe

select distinct * from ingredient where ingredient id in (
select ingredient_id from reing where recipe_id in (
selected_recipe_id, selected_recipe_id2, ...
)
);
Reply With Quote