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 Wanet Telecoms Ltd on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

How can I pull matching records without a primary key 2

Status
Not open for further replies.

SeeWard

Programmer
Mar 21, 2005
89
US

How could one query two tables that may contain matching without a linked field *primary key*?
TIA
 
Could be kind enough to show an example? I am uncertain how to do that...Thank you for your help...
 
want to tell me about the two tables you're trying to get information from? What information do you want to get from them?

Leslie

Anything worth doing is a lot more difficult than it's worth - Unknown Induhvidual
 
Thank you both so much. The info really helped out. I started poking around prior to Leslie's response and found that the Join works similarly to a MATCH statement...all that falls outside the match is discarded. But tell me this if you would please...will SQL then automatically create a new table with the resulting recordset?
 
Take a look at maketable query:
SELECT field list INTO newTable FROM ...

Hope This Helps, PH.
Want to get great answers to your Tek-Tips questions? Have a look at FAQ219-2884 or FAQ181-2886
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top