select p1.* from tabela as p1, tabela as p2 where p1.pole1 = p2.pole1 and p1.pole_id != p2.pole_id
Powyższe zapytanie zwróci te rekordy które mają identyczne wartości w POLE1 ale mają różne identyfikatory
select p1.* from tabela as p1, tabela as p2 where p1.pole1 = p2.pole1 and p1.pole_id != p2.pole_id
Powyższe zapytanie zwróci te rekordy które mają identyczne wartości w POLE1 ale mają różne identyfikatory