本文主要是介绍employee表中查询某字段重复记录。,希望对大家解决编程问题提供一定的参考价值,需要的开发者们随着小编来一起学习吧!
select count(EMPNUM) from employee
group by EMPNUM
having ( count(EMPNUM)>1)
select sn from Form_YS_PayApply
group by sn
having ( count(sn)>1)
--select * from Form_YS_PayApply where sn='FKA20121107002'
这篇关于employee表中查询某字段重复记录。的文章就介绍到这儿,希望我们推荐的文章对编程师们有所帮助!