Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations SkipVought on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

I'm sure there is a simple solution to this problem, I just can't get

Status
Not open for further replies.

alc

MIS
Jun 20, 2000
1
0
0
US
I'm sure there is a simple solution to this problem, I just can't get my head around it:<br><br>I have two tables, A and B.<br><br>Each entry in table A has any number of corresponding entries in table B.<br><br>I want to know which entries in A contain two (and only two) specific entries (say &quot;a&quot; and either &quot;x&quot;,&quot;y&quot;, or &quot;z&quot;)in B<br><br>right now, I am getting singles (record contains one of a,x,y,z) and duplicates (A.entry_id shows up twice because there are 2 records in B.entry_type: (&quot;a&quot; and &quot;x.&quot;) )<br><br>Thanks in advance for your help<br>alc<br>
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top