Hi,
i have a M:N relationship between PRODUCT and PRICE.
1 product may be associated to N prices and 1 prices
may belong to N products.
I got special cases the some kinda product MUST have
only 1 price associated with it.
I don't what would be the best way to model this
"flag" for the special case.
So far, i got 3 tables.
 - PRODUCT (PRODUCT_ID as PK)
 - PRICE (PRICE_ID as PK)
 - PRODUCT_PRICE (with fields PRODUCT_ID and PRICE_ID)

Where should i put this "flg" or should tie the
relations???

Thanks,
ltcmelo

______________________________________________________________________

Yahoo! Messenger - Fale com seus amigos online. Instale agora! 
http://br.download.yahoo.com/messenger/

-- 
MySQL General Mailing List
For list archives: http://lists.mysql.com/mysql
To unsubscribe:    http://lists.mysql.com/[EMAIL PROTECTED]

Reply via email to