I need to find inside my table on my MySQL database duplicated values with the same name but with different sport. Here is an example of data:
John Smith Athletics
Edward Green Athletics
Edward Green Fencing
Jim Brown Rugby
Jim Brown Rowing
Jim Brown Sailing
Stan Smith Football
Stan Smith Football
Well, I'd like to make a query which give me this result:
Edward Green Athletics
Edward Green Fencing
Jim Brown Rugby
Jim Brown Rowing
Jim Brown Sailing
As I said, only that values with the same name but different sport, in order to find namesakes.