Re: Relations for Product, FrequenceOfUse and User tables
Posted by: Rick James
Date: April 21, 2012 12:55PM

A table with 3 columns:
user_id (for JOINing to the User table)
product_id (for JOINing to the Products table)
ENUM('daily', 'weekly', ...)
PRIMARY KEY (user_id, product_id)

Options: ReplyQuote


Subject
Written By
Posted
Re: Relations for Product, FrequenceOfUse and User tables
April 21, 2012 12:55PM


Sorry, you can't reply to this topic. It has been closed.

Content reproduced on this site is the property of the respective copyright holders. It is not reviewed in advance by Oracle and does not necessarily represent the opinion of Oracle or any other party.