Tycoon Talk
Become a Big fish!
The number 1 forum for online business!
Post topics, ask questions, share your knowledge.
Tycoon Talk is part of Freelancer.com - find skilled workers online at a fraction of the cost.

The Database Forum


You are currently viewing our The Database Forum as a guest. Please register to participate.
Login



Reply
Old 05-03-2008, 03:56 AM E-R diagram for a DB
Junior Talker

Posts: 1
Name: none
Trades: 0
Hello
i have a database where i have some types of pizza, and their composition(stored in Reteta, in numeComponenta). e.g.: sauce,mayonnaise,mushrooms, etc, for each pizza.
And i also have an Incompatibilities table, where i have id1 and id2, and i wanna, for example if id1=3 and id2=6, the components 3 and 6 to be incompaible. how can i do this?
so, for example i have:

Componente
idComponenta NumeComponenta
1 sauce
2 mayonnaise

if in Incompatibilitati id1=1 and id2=2, sauce and mayonnaise are incompatible, and i cannot insert them into a pizza, as composition
i have this problem just at the relationship between Incompatibilitati and Componente, other relations are ok.
Thanks!
Attached Files
File Type: zip pizzerie_ex.zip (15.6 KB, 4 views)
Talkabout is offline
Reply With Quote
View Public Profile
 
 
Register now for full access!
Old 07-22-2008, 10:28 AM Re: E-R diagram for a DB
Experienced Talker

Posts: 46
Trades: 0
Is this a homework? =D
__________________

Please login or register to view this content. Registration is FREE
-> Home of the crasher squirrel
jeff_oneil is offline
Reply With Quote
View Public Profile Visit jeff_oneil's homepage!
 
Reply     « Reply to E-R diagram for a DB
 

Thread Tools Search this Thread
Search this Thread:

Advanced Search

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 On
HTML code is Off
Trackbacks are Off
Pingbacks are Off
Refbacks are Off





   
RSS Feed  Feeds: RSS   JS   XML
RSS Feed  Feeds for this forum: RSS   JS   XML



Page generated in 0.10304 seconds with 13 queries