Viewing 4 posts - 1 through 4 (of 4 total)
This CTE/Query seems to be giving me the reults I am looking for. Thank you for your assitance and guidance.
With HR_CTE (seq, EmployeeId, Name, Department, JobTitle, EffectiveDate, SocSecNbr, Address, City,...
December 8, 2011 at 8:20 am
Evil Kraig F (12/7/2011)
SQLRNNR (12/7/2011)
try using a cte and a row_number() ranking function.Put your query in the cte with that ranking function, then select from the cte where rownum=1
I would...
December 8, 2011 at 7:39 am
Burninator (12/7/2011)
SELECT DISTINCT
...
December 8, 2011 at 7:21 am
Thanks for the advice.
I have never used a CTE, so I will research their use and hash it out to see if I can get it working that way.
December 7, 2011 at 1:07 pm
Viewing 4 posts - 1 through 4 (of 4 total)