Two tables with non-unique column
Posted by:
Alex Karar
Date: February 26, 2014 08:44AM
I am new to mysql and I probably have a very simple question.
I have 2 tables (T1) and (T2). T1 contains UserIDs, names, age... T2 contains two columns: UserIDs and OrganizationID. So what happens on T2 is that each UserID can be a member of multiple OrganizationIDs and vice versa each Organization ID has multiple UserIDs.
How could I "connect" T1 with T2 with having unique OrganizationIDs. What I mean is that same OrganizationIDs have been identified as unique at the end and not separate.
Please bear in mind I don't have any serious mysql skills so please provide with a clean solution. I appreciate for your help.
Subject
Written By
Posted
Two tables with non-unique column
February 26, 2014 08:44AM
February 27, 2014 05:57AM
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.