G
Guest
My table:
Employee No Work Code No of hours Start Value
2 4.0
2 89 2
2 92 1
2 92 1
2 92 2
Here is my query – the results I am trying to get are:
Work Code 89 is Earned
Work Code 92 is Taken
The start value is 4 – so I would need to add work code 89 and then minus 92
and then the result is 2? How would I set up a query?
Employee No Work Code No of hours Start Value
2 4.0
2 89 2
2 92 1
2 92 1
2 92 2
Here is my query – the results I am trying to get are:
Work Code 89 is Earned
Work Code 92 is Taken
The start value is 4 – so I would need to add work code 89 and then minus 92
and then the result is 2? How would I set up a query?