深圳国土局数据抓取

深圳国土局数据抓取,有冗余数据 ,未优化

##房源重复记录查找
select distinct(td1),count(td1) as total from house group by td1 order by total desc;


##座重复记录查找
select distinct(td2),count(td2) as total from zuo group by td2 order by total desc;

##栋重复记录查找
select distinct(td5),count(td5) as total from dong group by td5 order by total desc;

##楼盘重复记录查找
select distinct(td29),count(td29) as total from building group by td29 order by total desc;

select count(*) from (select distinct pid,td2 from zuo) o;
select count(*) from zuo;

##数据复制
insert into zuo_temp(td2,pid,td1,td3) select distinct(td2) ,pid,td1,td3 from zuo group by td2;

##数据统计
select count(*) from(select distinct(td5),count(td5) as total from dong group by td5 ) a;

##分页
select id,td5 from dong order by id asc limit 8090 ,10;
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值