Click here to Skip to main content
15,881,559 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
I have 4 tables
table 1 has 1 column named car
table 2 has 2 columns named car and name
table 3 has 3 columns car ,name, and group
table4 has 4 columns named car ,name,group, owner i want to likn k the coulmns in the tables so that car,name,group in table1,2and 3 are the same
Posted
Updated 17-Sep-12 23:10pm
v2
Comments
Zoltán Zörgő 18-Sep-12 5:10am    
Good for you, and how can we help? This is no question.
[no name] 18-Sep-12 5:16am    
try foreign key concept

1 solution

Hi,
you can use primary key and foreign key concept.
like keep car as primary key in table1 and give its reference to all three tables.
in same way for name and group in their respective tables.
it will help to remove data redundancy.
 
Share this answer
 
Comments
mrDivan 18-Sep-12 6:25am    
Thank you

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