Quantcast
Channel: Primary key in complicated many to many MySQL table - Stack Overflow
Browsing all 2 articles
Browse latest View live

Answer by Ketan Patil for Primary key in complicated many to many MySQL table

Keep it very simple. Do not mix normalisation concepts with business/application requirements. Its best to have an integer based, auto incremented column as primary key in each table and reference it...

View Article



Primary key in complicated many to many MySQL table

I've read that when designing a simple many to many table, the best way to deal with primary key is to set it over both two columns. That's how I did that in table which assigns users to workgroups....

View Article
Browsing all 2 articles
Browse latest View live


Latest Images