Fatbob
September 28th, 2005, 11:59 AM
Hi everyone,
I need help creating a union statement (at least I believe I need a union statement) that will join two tables that have only on common column but possibly several different columns.
For example, here are two example tables...
Table 1
name age
------------------
Steve 32
Tom 35
John 30
Adam 25
Table 2
name weight
----------------------
Steve 200
John 210
Adam 215
Ryan 185
and produce the following results...
name age weight
-----------------------------------
Steve 32 200
Tom 35
John 30 210
Adam 25 215
Ryan 185
Any know how I can produce this result? :confused:
Thanks!
I need help creating a union statement (at least I believe I need a union statement) that will join two tables that have only on common column but possibly several different columns.
For example, here are two example tables...
Table 1
name age
------------------
Steve 32
Tom 35
John 30
Adam 25
Table 2
name weight
----------------------
Steve 200
John 210
Adam 215
Ryan 185
and produce the following results...
name age weight
-----------------------------------
Steve 32 200
Tom 35
John 30 210
Adam 25 215
Ryan 185
Any know how I can produce this result? :confused:
Thanks!