D
darren
I have a table with text parameters (table 1) and a second table with vlaues
that relate to each parameter from table 1 (table 2). I want to design a
query that will look up the parameters in table 1 and return the assigned
value from table 2.
Example of table 1:
ID soil colour texture
1 sand brown fine
2 clay red coarse
Example of table 2:
ID paramater score
1 sand 10
2 clay 100
3 brown 1
4 red 10
5 fine 10
6 coarse 100
The result of the query will look like this:
ID soil colour texture
1 10 1 10
2 100 10 100
Darren
that relate to each parameter from table 1 (table 2). I want to design a
query that will look up the parameters in table 1 and return the assigned
value from table 2.
Example of table 1:
ID soil colour texture
1 sand brown fine
2 clay red coarse
Example of table 2:
ID paramater score
1 sand 10
2 clay 100
3 brown 1
4 red 10
5 fine 10
6 coarse 100
The result of the query will look like this:
ID soil colour texture
1 10 1 10
2 100 10 100
Darren