SELECT ord
, custname
, custnumber
, city
FROM ord
WHERE custnumber IN ( SELECT custnumber
FROM ord
GROUP
BY custname
, custnumber
, city
HAVING COUNT(custnumber) > 1 )
ORDER
BY custnumber DESC
And I got this
#2013 - Lost connection to MySQL server during query
Any solutions?