A user is getting expected results with the following...
(SELECT MAX(A.EFFDT) FROM PS_JOB A WHERE A.EMPLID = JOB.EMPLID
AND A.EFFDT < JOB.EFFDT)
Job is the first ps_job
Job1 is the second ps_job
There is a problem however when there is a new hire or conversion (no records returned). I've...
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.