I need to make a wage slip but I can't figure out how to make the report take one time from the other, then multiply it by the wage to find out the pay for that day.
select personid, [hours_worked * pay_rate] as day_wage
from tbl_hours left join tbl_payrate on tbl_hours.personid = tbl_payrate.personid
where day = [day you want]
order by personid
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.