Click here to Skip to main content
15,879,326 members
Please Sign up or sign in to vote.
1.00/5 (2 votes)
How can i join three tables(a,b,c). They all have different num of coloums but three coloums(i.e name,fname,class) are same in all tables.
plzz tell me...!!
Posted
Comments
Ranjan.D 24-Oct-13 14:18pm    
Join tables based on their primary key. You did not even said what type of join. Have a look into - http://www.w3schools.com/sql/sql_join_inner.asp
Member 10279752 24-Oct-13 14:25pm    
i didn't declaired any primary key.But in all tables i also have three same coloum name. in all tables. on the base of these three same coloums i wants to fire search query for further operation.

 
Share this answer
 
 
Share this answer
 

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