Getting information for selected user problem when there are more then 1 user with the same name Java
<p>I have got a data base which has senders and receiver one-to-many.</p>

<p>The problem that I am facing is when lets say I have 2 user same name "John smiths" with id 01 and "John Smiths" with id 2</p>

<p>I have a java application which reads all senders in a combo box but how do I relate that senders with there own set of receivers. How can I differentiate between the two "John Smiths"?</p>

<p>if I say <code>SELECT senderID FROM senderTable WHERE fullName="John Smiths"</code> it will return 2 ids.</p>

<p>How can I solve this problem?</p>
