J
Juneya
I have two tables. Table1 is Current Employee Records.
Table 2 is Employee Rate History. Table1 has EmployeeID
and Date_Worked. Table2 has EmployeeID, Effective_Date,
and Rate.
I need to be able to determine the rate for the date
worked.
For Instance;
Table1
EmpID Date_Worked
abc 2/1/2004
abc 6/1/2004
Table2
EmpID Effective_Date Rate
abc 1/1/2004 10
abc 5/1/2004 20
I need to be able to show the "Rate" from Table2 for work
done on 2/1/2004 was at rate 10 and work done on 6/1/2004
was at 20. I am sure there is a simple solution to this
however I have yet to find it.
Table 2 is Employee Rate History. Table1 has EmployeeID
and Date_Worked. Table2 has EmployeeID, Effective_Date,
and Rate.
I need to be able to determine the rate for the date
worked.
For Instance;
Table1
EmpID Date_Worked
abc 2/1/2004
abc 6/1/2004
Table2
EmpID Effective_Date Rate
abc 1/1/2004 10
abc 5/1/2004 20
I need to be able to show the "Rate" from Table2 for work
done on 2/1/2004 was at rate 10 and work done on 6/1/2004
was at 20. I am sure there is a simple solution to this
however I have yet to find it.