1

I am doing a MySQL Red Gate schema compare and there are objects being shown in the differences group, but the compare view shows no differences. Am I missing something?

Mike Flynn
  • 22,342
  • 54
  • 182
  • 341

1 Answers1

0

Try the following:

SELECT 
    phone, 
    COUNT(phone) AS NumOccurrences
FROM 
    *MyTable*
GROUP BY 
    phone
HAVING ( 
    COUNT(phone) > 1 
)
Robert
  • 8,717
  • 2
  • 27
  • 34
Voislav Sauca
  • 3,007
  • 2
  • 18
  • 12