• but If performance is in concern then go for

    select CandidateID, max(YourDateColumn)

    from YourTable

    group by CandidateID