I am trying to combine a query of employees that will automatically give me a amount earned on various jobs and pay grades.
The columns I'm working with are "start date" "end date" and "hourly wage"
Basically the jist of what I'm trying to do is:
Salary: (end date - start date) * (5/7) * 8 * hourly
The 5/7ths is because everything is done in the time frame of weeks, but employees can only work 5 days in a week regardless of days.
Any help would be greatly appreciated.