Hello,
I was asked to write a query that will give me the hours an employee worked on a specific job, I got that no problem.
Then I was asked to write a query for all the production on a certain date. I go that, no problme
My problem now is that I am asked to write a query that will tell me the hours an employee worked on a job and the production the employee made. The proplem is that multiple employees can work on the same order and sub order, just the quantities are the difference
Unfortunatelly I have nothing that ties the employee to the production so the data looks something like this:
I get multiple entries and I would like to get something like this
I was trying to do an if statement but was not really sure how to phrase it
any help is greatly appreciated
I was asked to write a query that will give me the hours an employee worked on a specific job, I got that no problem.
Then I was asked to write a query for all the production on a certain date. I go that, no problme
My problem now is that I am asked to write a query that will tell me the hours an employee worked on a job and the production the employee made. The proplem is that multiple employees can work on the same order and sub order, just the quantities are the difference
Unfortunatelly I have nothing that ties the employee to the production so the data looks something like this:
Code:
19816 6400 11 0.6 340
19816 6400 11 0.6 340
19892 6400 11 8.03 374
19892 6400 11 8.03 374
Code:
19816 6400 11 0.6 340
19892 6400 11 8.03 374
I was trying to do an if statement but was not really sure how to phrase it
any help is greatly appreciated