Select * From T_D_AC_ETF_TA_TEMP A Where A.C_IDEN In (Select B.C_IDEN From T_D_AC_ETF_TA_TEMP B Group By B.C_IDEN Having Count(*)>1)
注:T_D_AC_ETF_TA_TEMP 目标表
C_IDEN 目标字段(该字段列数据是否有重复,无重复为0,有重复,查出重复记录)
Select * From T_D_AC_ETF_TA_TEMP A Where A.C_IDEN In (Select B.C_IDEN From T_D_AC_ETF_TA_TEMP B Group By B.C_IDEN Having Count(*)>1)
注:T_D_AC_ETF_TA_TEMP 目标表
C_IDEN 目标字段(该字段列数据是否有重复,无重复为0,有重复,查出重复记录)