View Single Post
  #13  
Old 01-02-2004, 04:59 AM
krich
Hill Giant
 
Join Date: May 2003
Location: The Great Northwest
Posts: 150
Default

I was thinking about this enhancement over the last day or so. This new format works well when you know the product and you want to find the ingredients, but I can't come up with a proper SQL statement that will pull a recipe out of this structure given only the ingredients. (Of course it could be due to my relatively light SQL experience).

Consider a simple recipe: Tarnished Dagger
Ingredients: Rusty Dagger, Sharpening Stone

What would the SQL Statement(s)/C++ Code be to pull that out of the database? Remember, when the player clicks combine, all we know at that point are the ingredients.

Regards,

krich
Reply With Quote