lets say i have a supervisor that is contracted to work from date_a to date_b (e.g. 01/01/2005 to 01/01/2010). I have just recruited and new employee which needs a supervisor. the new employee is contracted to work from date_c to date_d. A supervisor can only be assigned to an employee, if the employee's contract timeperiod falls within supervisor's contract timeperiod. How do i work this out in SQL (Microsoft SQL Server 2000)?
2006-11-06
00:14:10
·
3 answers
·
asked by
Anonymous
in
Computers & Internet
➔ Programming & Design