首页 诗词 字典 板报 句子 名言 友答 励志 学校 网站地图
当前位置: 首页 > 教程频道 > 数据库 > 其他数据库 >

反复数据处理

2013-03-01 
重复数据处理--重复数据只显示一条select min(a) a, b, c from test_tb group by b, c--删除重复数据dele

重复数据处理
--重复数据只显示一条select min(a) a, b, c from test_tb group by b, c;--删除重复数据delete from tb where rowid not in (select min(rowid) from test_tb group by b, c);group by 查询列只能用聚集函数或被group by的字段

热点排行