输出数据库中所有的字段计数
select count(*) from allurltable;
输出所有的去重后的字段
select distinct ziduan from allurltable;
select count(distinct ziduan) from allurltable;
将字段去重复后,计数
将a表字段a中的数据,去重后,插入表b字段b
INSERT INTO allurltable3 (ziduan2) SELECT distinct ziduan from allurltable;
将表allurltable3中的字段ziduan删除
ALTER TABLE allurltable3 DROP ziduan;
删除字段空的地方
delete from allurltable3 where ziduan2 is null;