cancel
Showing results for 
Search instead for 
Did you mean: 
Read only

Fetch duplicate records from database table

shubhankar2
Advisor
Advisor
0 Likes
637

Hello folks,

I am getting error in below query as Field "COUNT(*)" unknown I am trying to fetch duplicate records from database table or else any other way.

SELECT profile PROFILE_TYPE LOGQS logsys ddpid COUNT(*
    INTO TABLE st_ddph_e
      FROM /ctscm/md_ddph
      GROUP BY profile 
               PROFILE_TYPE 
               LOGQS
      HAVING COUNT(*1.

 

 

Accepted Solutions (0)

Answers (0)