Take the 2-minute tour ×
Database Administrators Stack Exchange is a question and answer site for database professionals who wish to improve their database skills and learn from others in the community. It's 100% free, no registration required.

I need to link data from a table to another table. I'm not sure how to do this. I have never link a table to another table. Anyone can help me? Or maybe can give me examples or sample codes? Thanks =)

share|improve this question
1  
What do you mean? You need to select data from 2 different tables, or insert data into 2 different tables? Can you provide table definitions with a plain English explanation? What operating system are you working on (iOS/Windows/Mac OS/Android...?)? –  Phil Aug 3 '12 at 2:33
    
I down-voted this question since it does not provide a clear explanation of what you are attempting to do. –  Max Vernon Sep 5 '12 at 20:17

1 Answer 1

Here is an idea that seems to work. Generally speaking though, you can do this like this:

Table1
------
table_key
data_type1
data_type2


Table2
------
table_key
table_key_in_table1 (linked to table1)
data_type1
data_type2
...

And so on.

share|improve this answer

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.