删除重复记录的问题,请大家帮忙。 http://www.bincess.cn/Topics/ViewTopic_439.html 解决方案 » 免费领取超大流量手机卡,每月29元包185G流量+100分钟通话, 中国电信官方发货 delete a from 表 as a where exists(select 1 from 表 where 字段1=a.字段1 and 字段2=a.字段2 and 字段3<a.字段3) 1>如果是只要查询出一个,可以这样select * from 表 Awhere not exists( select * from 表 where 字段1=A.字段1 and 字段2=A.字段2 and 字段3>A.字段3)2>如果是删除到只留一个,楼上的就可以了! 时间类型转换成字符串型 远程连接sqlsever2000(未装sqlserver sp3)方法 小游戏比赛数据库的设计 请教:如何取得UPDATA()后的最新的ID号? 请教删除表记录时的问题? SQL 2008 发布订阅的时间怎么测 VFP真的就一文不值吗?请留意:《Visual FoxPro 漫谈2》 数据编码问题 关于VFP报表设计 触发器问题,请高手帮忙指点,不胜感激!!! asp调用存储过程时出的错误,谁能帮我解决一下啊? 删除数据的问题
select *
from 表 A
where
not exists(
select * from 表 where 字段1=A.字段1 and 字段2=A.字段2 and 字段3>A.字段3)
2>如果是删除到只留一个,楼上的就可以了!