- Aug 28, 2001
- 52,844
- 1,049
- 126
have a whole bunch of names and I need 2 version numbers via joined table.
TABLE1
nameID (key column), name (column)
1, Alan
2, Barry
TABLE2
nameID (key column), myID (column), version (column)
1, 144, 1.223
1, 180, 2.678
1, 269, 2.999
2, 144, 2.333
2, 180, 2.678
2, 269, 2.999
Desired resulting columns are all names, and versions for only the myIDs of 180 and 269
(name versionfor180 versionfor269)
Alan 2.678 2.999
Barry 2.678 2.999
Basically I need each name in 1 row, with both ID versions in that same row.
Thx.
TABLE1
nameID (key column), name (column)
1, Alan
2, Barry
TABLE2
nameID (key column), myID (column), version (column)
1, 144, 1.223
1, 180, 2.678
1, 269, 2.999
2, 144, 2.333
2, 180, 2.678
2, 269, 2.999
Desired resulting columns are all names, and versions for only the myIDs of 180 and 269
(name versionfor180 versionfor269)
Alan 2.678 2.999
Barry 2.678 2.999
Basically I need each name in 1 row, with both ID versions in that same row.
Thx.
Last edited:
