Organizational Research By

Surprising Reserch Topic

Experts Most Trusted Topic


find duplicate entries in a column,ind,duplicate,CTN,Records,in,table1


find duplicate entries in a column  using -'I,am,writing,this,query,to,find,duplicate,CTN,Records,in,table1.,So,my,thinking,is,if,the,CTN_NO,appears,more,than,twice,or,higher,,,I,want,it,shown,in,my,SELECT,*,statement,output,on,top.

I,tried,the,following,sub-query,logic,but,I,need,pulls,

,,SELECT,*
,,,,,,,,,table1,
,,,WHERE,S_IND='Y'
,,,,,and,CTN_NO,=,(select,CTN_NO,
,,,,,,,,,,,,,,,,,,,,,from,table1,
,,,,,,,,,,,,,,,,,,,,where,S_IND='Y',
,,,,,,,,,,,,,,,,,,,,,,and,count(CTN_NO),<,2);
order,by,2'

    This question already has an answer here:
    
        
            How do I find duplicate values in a table in Oracle?
                
                    8 answers

asked Sep 24, 2015 by shikhar jain
edited Nov 18, 2015 by rajesh
0 votes
15 views



Related Hot Questions



Walkin Jobs Opening



Government Jobs Opening


...