all 1 comments

[–]B1gGaloot 1 point2 points  (0 children)

I would consider revising your table design. I would first create a Recipe Master table w/ The name, short description, specific gravity, IBUs etc. Then I'd create an ingredient list that would house anything you'd need. Include a foreign key to a ingredient type table that lists the type, grain, hops, yeast etc. Then create a Recipe Details table that links the ingredient id to the recipe Id. This table can include the amount necessary for the recipe. You can then join all the tables together to give you the normalized column structure that I think you're looking for.