Hi
I have imported in a table a list of payroll transactions. However I'm only interested in what department each employee was in at the end of each month. So my relevant columns are employee_no, ypt_pay_date and ypt_department.
An issue is that the same employee_no may have multiple ypt_pay_date within the same month.
What would be the most efficient way to create maybe a new table that lists the employee_no, ypt_pay_date and ypt_department, without having the same employee_no appear twice in the same month.
Thanks
Payroll Transactions Table