I have been trying to find duplicate county names in a state according to StateId. I have tried to write a sql query that helps to find duplicate data, but I could not.