I have this table:
CREATE TABLE [dbo].[Phrase] (
[PhraseId] UNIQUEIDENTIFIER DEFAULT (newid()) NOT NULL,
[English] NVARCHAR (250) NOT NULL,
[Kanji] NVARCHAR (250) NULL,
PRIMARY KEY CLUSTERED ([PhraseId] ASC) );
What I would like to do is to get a list of all the duplicate rows (with English and Kanji) columns used to detect a duplicate.
In other words if there are rows like this:
English Kanji
aa bb
aa cc
aa bb
aa dd
aa ee
aa dd
I would like to get a report showing
aa bb
aa dd