I want the last record based on role and status For example, i want to create the rejected listing page for role = HO2 user you can see 2 entry in table for HO2 & rejected combination.I want the latest entry from database table. expected output: 27811->Ho2->Rejected Thanks in advance