Hi Experts,
I need to create this report in sql by selecting the last record for each referralID. As you see below in the table i have the same referralID many times and i need to select 1 record per each referralID. That would be the last one entered, or the one with highest number of "StatusUpdateID". Suggestions?