You need to provide us the structure of your table(s) so that we can help you with the solution.
If you table is just:
EmpTable
LastName FirstName StartDate EndDate
Doe John 2005-11-01 2005-11-29
Smith Jane 2004-01-01 2005-11-15
You would do:
SELECT LastName, StartDate, EndDate
FROM EmpTable
But if that isn't what your data looks like, then that won't work.
-SQLBill
Posting advice: FAQ481-4875