I am trying to create a query to find any duplicates values and then just display those records. But my query is returning rows that don't contain any duplicates.
                SELECT j.*,             
                count(alldok.DocketNo)  AS ConsignmentCount,
                alldok.DocketNo  AS Dockets
                FROM job_new j                      
                LEFT JOIN job_dockets alldok ON alldok.JobID = j.ID
                WHERE j.IsActive = 1 
                GROUP BY j.ID  
                HAVING  ConsignmentCount > 1  
                ORDER BY  ID  DESC
A few of the rows that get returned:
We can see it found CAROL EMAIL twice but those other values are not duplicates but the count is saying 2, even though they only exist once. 

 
     
    