• i think using the row number with a sub select will get you what you are after:

    SELECT

    Employee_ID,

    Employee_Title,

    Employee_Entry

    FROM (SELECT

    ROW_NUMBER() OVER (partition BY Employee_ID ORDER BY Employee_Entry DESC) AS RW,

    Employee_ID,

    Employee_Title,

    Employee_Entry

    FROM emp.employees) myAlias

    WHERE RW = 1

    Lowell


    --help us help you! If you post a question, make sure you include a CREATE TABLE... statement and INSERT INTO... statement into that table to give the volunteers here representative data. with your description of the problem, we can provide a tested, verifiable solution to your question! asking the question the right way gets you a tested answer the fastest way possible!