2013-11-27 37 views

回答

0

使用此查詢

select * from table where Filename in (
    select Filename from table group by `number_of_ads` having count(*) > 1 
) 
+0

謝謝@awsumnik。它太慢了。它已經運行了10分鐘,雖然我已經限制它只有100行 – UserYmY

+1

檢查此鏈接是否有幫助 - http://stackoverflow.com/questions/10650039/mysql-select-rows-with-same-values -in-一列 - 和 - 不同功能於另一 – awsumnik

相關問題