• SELECT EmpPin, trxdate, trxtime, COUNT(*) AS dupes

    FROM dbo.rawtrx

    GROUP BY EmpPin, trxdate, trxtime

    HAVING (COUNT(*) > 1)

    play around with this query