W
WH
I have two tables, table 1 contains many records, each
record has its own "group1 number", "group2
number", "group3 number".
It looks like:
ID group1_number group2_number group3_number
1 2 1 3
2 5 2 2
etc..
table 2 looks like this:
"GROUP #" "group1 factor" "group2 factor" "group3 factor"
1 0.1 0.2 0.68
2 0.69 0.36 0.33
3 some other factors....
4
5
6 0.22 0.33 0.39
etc.
Now for each record in table1, I need to get its group1
factor, group2 factor, and group3 factor.
For example, a record has group1 number=2 group2 number=1
group3 number=6. I would want to go into table 2, and
return group1 factor = 0.69, group2 factor=0.2, group3
factor=0.39.
How should I do this most efficient?
Thanks a lot for any help.
WH
record has its own "group1 number", "group2
number", "group3 number".
It looks like:
ID group1_number group2_number group3_number
1 2 1 3
2 5 2 2
etc..
table 2 looks like this:
"GROUP #" "group1 factor" "group2 factor" "group3 factor"
1 0.1 0.2 0.68
2 0.69 0.36 0.33
3 some other factors....
4
5
6 0.22 0.33 0.39
etc.
Now for each record in table1, I need to get its group1
factor, group2 factor, and group3 factor.
For example, a record has group1 number=2 group2 number=1
group3 number=6. I would want to go into table 2, and
return group1 factor = 0.69, group2 factor=0.2, group3
factor=0.39.
How should I do this most efficient?
Thanks a lot for any help.
WH