I have a people table, two of this table fields are id and country.
I want to find all records that have the same id and country, because id should be unique per country.
What would be the right way do do that?
for example, sample output should be:
+--------------+---------+
| id | country |
+--------------+---------+
| 123 | AT |
| 123 | AT |
| 456 | GB |
| 456 | GB |
| 456 | GB |
| 789 | AU |
| 789 | AU |