I believe this should work for you. Keep in mind that CHECKSUM () is not 100% perfect - it is theoretically possible to get a false result here (I think), but otherwise you can just change the table name and this should work:
;WITH cte AS (
SELECT
*,
CHECKSUM(*) AS chksum,
ROW_NUMBER() OVER(ORDER BY GETDATE()) AS row_num
FROM
My_Table
)
SELECT
*
FROM
CTE T1
INNER JOIN CTE T2 ON
T2.chksum = T1.chksum AND
T2.row_num <> T1.row_num
ROW_NUMBER() , . ORDER BY , GETDATE() .
CTE, .