SQLS删除重复记录
来源:互联网 发布:人工智能7大应用领域 编辑:程序博客网 时间:2024/05/22 05:27
select COUNT(fid)-count(distinct FMobile) from t_company
delete from t_company where exists (
select * from t_company as b
where b.FName = t_company.FName
and b.Fid < t_company.Fid
)
delete from t_company where exists (
select * from t_company as b
where b.FHttp = t_company.FHttp
and b.Fid < t_company.Fid
)
delete from t_company where exists (
select * from t_company as b
where b.FTel = t_company.FTel
and b.Fid < t_company.Fid
)
delete from t_company where exists (
select * from t_company as b
where b.FMobile = t_company.FMobile
and b.Fid < t_company.Fid
)
delete from t_company where exists (
select * from t_company as b
where b.FFax = t_company.FFax
and b.Fid < t_company.Fid
)
- SQLS删除重复记录
- 删除重复记录
- 删除重复记录
- 删除重复记录
- oracle删除重复记录
- 删除重复记录
- 删除重复记录
- oracle删除重复记录
- 删除重复记录
- 数据库删除重复记录
- 删除重复记录方法
- 快速删除重复记录
- sql删除重复记录
- Database--删除重复记录
- SQL 删除重复记录
- 删除重复记录
- SQL删除重复记录
- 删除重复记录
- 项目心得(1)--在C#.net下文件路径要注意的问题
- Error statistics
- SSDP
- ActionScript3.0与Java的一些细微不同
- 在Ubuntu8.04下配置VIM
- SQLS删除重复记录
- 五大妙招让你快速入梦乡
- 备忘:几种中文乱码处理转码情况
- 建立ARM开发环境之H-JTAG软件的配置
- Linux系统分区和挂载浅谈
- HOST: 239.255.255.250:1900
- 修改netbox
- 使用javaScript和DOM操作svg元素
- Google Chrome 浏览器无法运行 Applet 的解决方法