ID | Status |
---|---|
1 | Active |
1 | Inactive |
2 | Active |
3 | Inactive |
4 | Active |
4 | Inactive |
In the above table when id has multiple status, need only the records with status as Active along with the remaining records.
ID | Status |
---|---|
1 | Active |
2 | Active |
3 | Inactive |
4 | Active |