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

MYSQL 驱除重复记录

2012-07-23 
MYSQL 清除重复记录createtabletmpasselectdistinct *fromdaozencart# 影响了 736 行。droptabledaozencar

MYSQL 清除重复记录
create   table   tmp   as   select  distinct *   from   daozencart  ;# 影响了 736 行。


drop   table   daozencart  ;# MySQL 返回的查询结果为空 (即零行)。


alter   table   tmp   rename   daozencart  ;# MySQL 返回的查询结果为空 (即零行)。

热点排行