• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Finding duplicate objects
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Finding duplicate objects


  • Subject: Finding duplicate objects
  • From: Jeff Dunnett <email@hidden>
  • Date: Mon, 28 Sep 2009 13:09:45 -0400

Hello,

I am having trouble creating a fetch specification selects duplicate objects but bases the comparison on only a few select fields. For instance a fetch specification that mimics the follow SQL query:

SELECT school_number, first_name, last_name
FROM "cms"."ms_contestant"
WHERE (contest_id = 0x000081618cb5000007d202000000011f85e471540a2b2f43
OR contest_id = 0x000081618cb5000007d204000000011f85e471540a2b2f43
OR contest_id = 0x000081618cb5000007d206000000011f85e471540a2b2f43)
GROUP BY school_number, first_name, last_name
HAVING COUNT(*) > 1

Is there a way to do this?

Regards,
Jeff

_______________________________________________
Do not post admin requests to the list. They will be ignored.
Webobjects-dev mailing list      (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden


  • Follow-Ups:
    • Re: Finding duplicate objects
      • From: Chuck Hill <email@hidden>
  • Prev by Date: Re: Backtrack and re-submit WOSubmitButton behaviour
  • Next by Date: Re: migrated to 3.5 with ant build problem
  • Previous by thread: Re: migrated to 3.5 with ant build problem
  • Next by thread: Re: Finding duplicate objects
  • Index(es):
    • Date
    • Thread