Oracle FAQ | Your Portal to the Oracle Knowledge Grid |
![]() |
![]() |
Home -> Community -> Mailing Lists -> Oracle-L -> RE: How do I check for partial duplicates?
select mem_id, mem_name from mem_info group by mem_id, mem_name having count(*) > 1
-----Original Message-----
Sent: Wednesday, August 15, 2001 3:48 PM
To: Multiple recipients of list 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: crezek_at_dotclick.com
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: ListGuru_at_fatcity.com (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).
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: ListGuru_at_fatcity.com (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). Received on Wed Aug 15 2001 - 15:25:58 CDT
![]() |
![]() |