basement131
Technical User
i am trying to develop a query with 4 tables as follows
Table "JC" has the job codes (i.e. 100, 200, 300, etc)
Table "96" has the full time equivalents FTE for each job code in 1996
Table "97" has the full time equivalents FTE for each job code in 1997
Table "98" has the full time equivalents FTE for each job code in 1998
each table for 96-98 has the following fields
Job code (as above), Location (a, b, c, d) and the FTE (1, .25, .99)
within each of these tables there can be 1 job code with 2 locations each having a different FTE.
the query i am trying to develop will allow me to pull every job code for each location and the FTE for each year. (i.e. i would have the following fields at the top (job code , location, 96FTE, 97FTE, 98FTE) and data could be as follows (621, a, 1, 0, .5) then if location b had any FTE in any of the years for that job it would show (621, b, 1, 2, .8).
now i tried to do the query i pulled up the 4 tables & i selected JC with a left join by job code to each of the years i ended up getting duplicates.
could you please give me some assistance with this one.
Ian.
Table "JC" has the job codes (i.e. 100, 200, 300, etc)
Table "96" has the full time equivalents FTE for each job code in 1996
Table "97" has the full time equivalents FTE for each job code in 1997
Table "98" has the full time equivalents FTE for each job code in 1998
each table for 96-98 has the following fields
Job code (as above), Location (a, b, c, d) and the FTE (1, .25, .99)
within each of these tables there can be 1 job code with 2 locations each having a different FTE.
the query i am trying to develop will allow me to pull every job code for each location and the FTE for each year. (i.e. i would have the following fields at the top (job code , location, 96FTE, 97FTE, 98FTE) and data could be as follows (621, a, 1, 0, .5) then if location b had any FTE in any of the years for that job it would show (621, b, 1, 2, .8).
now i tried to do the query i pulled up the 4 tables & i selected JC with a left join by job code to each of the years i ended up getting duplicates.
could you please give me some assistance with this one.
Ian.