如何删除db中除了pk其他都一样的记录呢? rt 解决方案 » 免费领取超大流量手机卡,每月29元包185G流量+100分钟通话, 中国电信官方发货 delete a table1 a,(select id from table1 b where exists (select 1 from table1 where col1=b.col1 and col2=b.col2 and id<b.id)) cwhere a.id=c.id select min(pk),col1,col2.... from tb group by col1,col2..... mssql数据库转成mysql数据库,表结构与表数据一同转换 Postgres9.0.4可以做群集和负载平衡吗 没有怎么用过MySQL,存储过程这样写有问题吗? postgreSQL免安装版本速度问题。 【求助】mysql排序非规则排序。 请教:多建立数据库会不会影响数据库的执行速度? 请问怎么在Java里获得MySQL的所有表??? redhat装mysql报错 MySql 4.0新功能大讨论!!! SqlServer中的ROW_NUMBER,如何在MySql中等价 关于新浪微薄好友分组设计 怎么添加一个分区...
where a.id=c.id
select min(pk),col1,col2.... from tb group by col1,col2.....