combining two tables

Z

ZOCOR

Hi

how to combine two tables using sql

I have:

table 1 (id, name, address)

table 2 (id, fax, phone)

would like:

table (id, name, address, fax, phone)


Thanks
ZOCOR
 
T

Tom Ellison

Dear Zocor:

Are the two table related on "id"? Do they have the same number of
rows (a 1 to 1 relationship)? Are there rows in either table without
a corresponding row in the other?

You can JOIN two table in a query based on some common key that us
generally unique in one or both tables. The details will depend on
the characteristics of the relationship between the tables, which is
what I was asking above.

Tom Ellison
Microsoft Access MVP
Ellison Enterprises - Your One Stop IT Experts
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top