I have an employee table with duplicate records consisting of contract to hire or rebadge details.
| FullName | Status | Current Position | 
|---|---|---|
| John Doe | Inactive | Finance Analyst | 
| John Doe | Active | Finance Manager | 
| Mike Wood | Active | Project Manager | 
| Mike Wood | Inactive | Consultant | 
| Sam Hyke | Inactive | Director | 
| Ahmed Saeed | Active | Supply Chain Manager | 
I would like to select all records irrespective of status and only in case of duplicates, it should filter and pick the rows with status as 'Active'.
Expected Outcome
| FullName | Status | Current Position | 
|---|---|---|
| John Doe | Active | Finance Manager | 
| Mike Wood | Active | Project Manager | 
| Sam Hyke | Inactive | Director | 
| Ahmed Saeed | Active | Supply Chain Manager | 
 
     
     
    