身份证号码相同(字段值出现多次) select * from CBF_JTCY a,(select CYZJHM, count(*) from CBF_JTCY group by CYZJHM having count(*)>1)bwhere a.cyzjhm=b.cyzjhm 身份证号码相同但姓名不同(A字段相同,B字段不相同) select * from cbf_jtcy a ,(select * from cbf_jtcy ) b where a.CYZJHM=b.CYZJHM a
问题描述:excel表中的一些数据会以文本格式格式保存,例如一些较长的编号.银行账号.身份证号等,再python中导出文件后,会发现数据以科学计数法显示,影响后续使用. data2_3.to_excel("F:\\大论文实验\\数据处理\\贫困户数据2015.xlsx") 解决方法:在数据导出之前,将需要处理的信息列添加 \' 或空格 data2_3['贫困户编号']=['\'’%i' % i for i in data2_3['贫困户编号']] data2_3.to_excel(&q
//校验手机号 function IsMobileNumber( num:string ):boolean; begin Result:=False; if length( trim( Num ) ) <> 11 then Exit; if ( ( copy( num, 1, 2) <> '13' ) and ( copy( num , 1, 2) <> '15' ) ) then Exit; try StrToInt(