select Name1,Name2 from DataTable
where WriteDate>'2012-09-09 08:09:59.000'
group by Name1,Name2
having count(*)>1
sql Server 筛选重复的数据。
最新推荐文章于 2024-10-24 09:17:28 发布
select Name1,Name2 from DataTable
where WriteDate>'2012-09-09 08:09:59.000'
group by Name1,Name2
having count(*)>1