首页 > 电脑

如何用sql语句查询一个表里面出现重复的数据

更新时间2018-03-06 21:28:02

查询重复数据,方法如下:

1select * from [A] where id in (select id from [A] group by id having count(id) >1 )


上一篇:hibernate的作用

下一篇:ajax实现异步有哪几种方法