I've got a table like this
DoctorName | IsOperDoc
Albert | 1
Albert | 1
Albert | 0
Bill | 0
Bill | 0
Charlie | 0
Dave | 1
I would like to delete duplicated rows and retain rows with IsOperDoc = 1 (also retains single row with IsOperDoc = 0 if the Doc is not OperDoc)
What I expect
DoctorName | IsOperDoc
Albert | 1
Bill | 0
Charlie | 0
Dave | 1