转 sql 查出一张表中重复的所有记录数据
select * from DB_PATCH a
where lower(a.db_name) in (select lower(db_name) from DB_PATCH group by lower(db_name) having count(*) > 1)
delete from DB_PATCH a
where lower(a.db_name) in (select lower(db_name) from DB_PATCH group by lower(db_name) having count(*) > 1)
and rowid not in (select min(rowid) from DB_PATCH group by lower(db_name) having count(*) > 1)
http://blog.csdn.net/a11085013/article/details/8549256
炊烟起了;夕阳下了;细雨来了
多调试,交互式编程体验
记录,独立思考,对比
感谢转载作者
修车
国产化
read and connect
匍匐前进,
讲故事