Using MS Access SQL, I am trying to figure out how to delete rows with duplicate values in one column.
Example Data:
Department | Job Category | Name | Requestor ID
Medical Affairs | Vice President | Kim | 123
Medical Affairs | President | Abe | 123
Nursing | Sr Vice President | Bob | 456
Nursing | Exec Vice President | Jim | 456
Patient Care | President | Sam | 456
In the example above, I want to delete the rows with duplicate Requestor ID to only leave the row with the lowest Job Category (even if the Job Category is in different Departments). That means I would only be left with these rows below when I'm done deleting my duplicates:
Results:
Department | Job Category | Name | Requestor ID
Medical Affairs | Vice President | Kim | 123
Nursing | Sr Vice President | Bob | 456
I am pretty new to MS Access SQL so I don't even know where to start. I appreciate all the help I can get.