Home Forums SQL Server 2005 T-SQL (SS2K5) Sum fields from 3 different tables RE: Sum fields from 3 different tables
david.dunst
SSC Rookie
Points: 26
More actions
February 24, 2015 at 10:21 am
#1779668
dwain.c is correct that once you have a Rep table, you should really capture the HireDate and TerminationDate.
Then all you need to do is correct the Rep table WHERE clause to look at TerminationDate.
Glad it's working.