Here's an example:

select table_name||column_name, count(table_name||column_name) from
sys.dba_tab_columns
group by table_name||column_name



                                                                                       
    
                    Chris Rezek                                                        
    
                    <crezek@dotcl        To:     Multiple recipients of list ORACLE-L  
    
                    ick.com>             <[EMAIL PROTECTED]>                        
    
                    Sent by:             cc:                                           
    
                    root@fatcity.        Subject:     How do I check for partial       
    
                    com                  duplicates?                                   
    
                                                                                       
    
                                                                                       
    
                    08/15/2001                                                         
    
                    04:48 PM                                                           
    
                    Please                                                             
    
                    respond to                                                         
    
                    ORACLE-L                                                           
    
                                                                                       
    
                                                                                       
    




We have a table that may have partial duplicate rows.  What select
statement do I write to return the partial duplicates?

table_name = MEM_INFO

MEM_ID
MEM_NAME
MEM_TIME
MEM_LAST

I am concerned about two rows having the same MEM_ID and MEM_NAME.
Having the same MEM_TIME and MEM_LAST is okay.

Thanks,

Chris
--
Please see the official ORACLE-L FAQ: http://www.orafaq.com
--
Author: Chris Rezek
  INET: [EMAIL PROTECTED]

Fat City Network Services    -- (858) 538-5051  FAX: (858) 538-5051
San Diego, California        -- Public Internet access / Mailing Lists
--------------------------------------------------------------------
To REMOVE yourself from this mailing list, send an E-Mail message
to: [EMAIL PROTECTED] (note EXACT spelling of 'ListGuru') and in
the message BODY, include a line containing: UNSUB ORACLE-L
(or the name of mailing list you want to be removed from).  You may
also send the HELP command for other information (like subscribing).


-- 
Please see the official ORACLE-L FAQ: http://www.orafaq.com
-- 
Author: 
  INET: [EMAIL PROTECTED]

Fat City Network Services    -- (858) 538-5051  FAX: (858) 538-5051
San Diego, California        -- Public Internet access / Mailing Lists
--------------------------------------------------------------------
To REMOVE yourself from this mailing list, send an E-Mail message
to: [EMAIL PROTECTED] (note EXACT spelling of 'ListGuru') and in
the message BODY, include a line containing: UNSUB ORACLE-L
(or the name of mailing list you want to be removed from).  You may
also send the HELP command for other information (like subscribing).

Reply via email to