查询有某个字段重复的数据

select image_id from images group by image_id having count(*)>1;
相关文章
相关标签/搜索