Click here to Skip to main content
15,895,011 members
Please Sign up or sign in to vote.
1.00/5 (1 vote)
Hi
I have two tables that they have one fild to join;

I need independence part of first table;

plz help me
Posted
Comments
walterhevedeich 26-Apr-11 0:31am    
Your question is not clear. You might want to rephrase it for us to understand better. Please include specifics of your scenario and necessary scripts/codes.

:doh:

You did not read or went through the links shared with you yesterday[^], right?

If it's a INNER JOIN, it would be something like:
SQL
SELECT table1.*, table2.*
FROM table1
INNER JOIN table2 ON table1.commonfield = table2.commonfield


Try!
 
Share this answer
 
Comments
raheleh_es 26-Apr-11 1:00am    
I didn't saw your comant sorry and tankhs
raheleh_es 26-Apr-11 1:09am    
sorry I need different dataes of them
raheleh_es 26-Apr-11 1:14am    
these are homogeneous dataes،give me another ones
hi u can use the special asertion for first table that those records there'nt
at the another table
 
Share this answer
 
Comments
raheleh_es 26-Apr-11 3:06am    
give an example

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900