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

Posts: 1
Name: none
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, 0 views)
Talkabout is offline
Reply With Quote
View Public Profile
 
Sponsored Links (We share ad revenue):
 
Sponsored Links (We share ad revenue):
 
Reply     « Reply to E-R diagram for a DB
 

Thread Tools

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

vB 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.11810 seconds with 15 queries