title: Self Join query to find duplicate records
body: <p>I have a table with around 32 columns and I want to check duplicate rows but two columns are unique so they will be different for each row. So I need <code>JOIN</code> condition basically self join with duplicate records where all columns are equal except two.</p>