摘要:
面试常见的Sql语句和大家分享:问题1:Sql查询重复问题解答:---查询重复数据example:表名:Cpf_file字段名:cpf01select * from Cpf_file where cpf01 in (select cpf01 from Cpf_file group by cpf01 having count(1) >= 2)问题2:Sql去除重复问题解答:example:原表:TestEisUser临时表:TempTB--第一步 将不重复的数据记录筛选出来存储到新的临时表中select distinct * into TempTB from TestEisUser --第 阅读全文
posted @ 2012-04-17 16:07
楠木大叔
阅读(569)
评论(0)
推荐(1)

浙公网安备 33010602011771号