select (select 1 from yourtable x where yourtable.fieldname=x.fieldname group by fieldname having yourtable.* from yourtable where existscount(*)>1)
查重
最新推荐文章于 2024-08-24 08:08:39 发布
博客给出了一条SQL查询语句,包含子查询、分组和条件筛选等操作,用于从表中筛选满足特定条件的数据。
1121

被折叠的 条评论
为什么被折叠?



