If this is your first visit, be sure to check out the FAQ by clicking the link above. You may have to register before you can post: click the register link above to proceed. To start viewing messages, select the forum that you want to visit from the selection below.

 
Go Back  dBforums > General > Database Concepts & Design > Database of Recipes

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1 (permalink)  
Old 06-16-09, 14:52
sethmac sethmac is offline
Registered User
 
Join Date: Dec 2008
Posts: 10
Database of Recipes

Hi,

I'm relatively green at creating normalized databases, but would love some input.

For a class project, I want to create a small program to compare items in a pantry to a list of recipes to see if the ingredients are available to make a certain recipe.

What would be a proper way to represent the combination of ingredients that make up a certain recipe?
Reply With Quote
  #2 (permalink)  
Old 06-16-09, 15:23
dportas dportas is offline
Registered User
 
Join Date: Dec 2007
Location: London, UK
Posts: 732
Look up Relational Division. You should find some useful examples. Don't expect other people to do your homework for you.
Reply With Quote
  #3 (permalink)  
Old 06-16-09, 15:41
sethmac sethmac is offline
Registered User
 
Join Date: Dec 2008
Posts: 10
Quote:
Originally Posted by dportas
Look up Relational Division. You should find some useful examples. Don't expect other people to do your homework for you.
It's actually for a continuing ed. class so the project is assigned by me to myself. Thanks for the tip minus the self-righteous comment.
Reply With Quote
  #4 (permalink)  
Old 06-16-09, 15:52
dportas dportas is offline
Registered User
 
Join Date: Dec 2007
Location: London, UK
Posts: 732
Thanks for the back-handed thanks I guess!! Many people here are wary about answering questions that appear to be coursework. Students often try to cheat by seeking help in online forums. The professional and courteous way to respond is to maybe offer one or two comments on work the student has done so far while at the same time hinting that she should not expect direct and complete answers. I think most people would agree that there's nothing self-righteous about it.
Reply With Quote
  #5 (permalink)  
Old 06-16-09, 16:24
mike_bike_kite mike_bike_kite is offline
vaguely human
 
Join Date: Jun 2007
Location: London
Posts: 2,519
Quote:
Originally Posted by dportas
most people would agree that there's nothing self-righteous about it.
Totally agree - absolutely nothing at all self-righteous about it.
Quote:
Originally Posted by sethmac
I'm relatively green at creating normalized databases, but would love some input.
Why not show us the design you've come up with so far and then ask us to comment on that.
Reply With Quote
Reply

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On