删除表:dgpage中Mail重复的记录并保留最后一条. deletedgpagewhereidin(selecta.idfromdgpagea,dgpagebwherea.mail=b.mailanda.idb.id) 删除表:dgpage中Mail重复的记录并保留最近一条. deletedgpagewhereidin(selecta.idfrom
删除表:dgpage中Mail重复的记录并保留最后一条. delete dgpage where id in ( select a.id from dgpage a, dgpage b where a.mail = b.mail and a.id > b.id ) 删除表:dgpage中Mail重复的记录并保留最近一条. delete dgpage where id in ( select a.id from dgpage a, dgpage b where a.mail = b.mail and a.id <b.id )