标签: mysql equals
我正在查询MySQL表。我的表由两列组成:
Filename number of ads
如何查询广告数量相同的文件?
答案 0 :(得分:0)
使用此查询
select * from table where Filename in ( select Filename from table group by `number_of_ads` having count(*) > 1 )