• 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
How to do a "SELECT DISTINCT"
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

How to do a "SELECT DISTINCT"


  • Subject: How to do a "SELECT DISTINCT"
  • From: Sébastien Gruhier <email@hidden>
  • Date: Tue, 22 Mar 2005 22:03:09 +0100

Hi,

I would like to perform a "select distinct" on my database.
Actually I do a fecthSpecification like this
EOFetchSpecification fetchSpec = new EOFetchSpecification("Table",

new EOKeyValueQualifier("attribute",
EOQualifier.QualifierOperatorEqual,

new Integer(1)),
null);
editingContext.objectsWithFetchSpecification(fetchSpec);


I get all elements from Table that have "attribute = 1". I would like to add something like only with a distinct "name".
Any ideas?
Thanks
Seb
 _______________________________________________
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: How to do a "SELECT DISTINCT"
      • From: Denis Stanton <email@hidden>
    • Re: How to do a "SELECT DISTINCT"
      • From: Sacha Mallais <email@hidden>
  • Prev by Date: Re: Design Best Practice Question
  • Next by Date: Re: How to do a "SELECT DISTINCT"
  • Previous by thread: Re: ANY DB2 Experts Here????
  • Next by thread: Re: How to do a "SELECT DISTINCT"
  • Index(es):
    • Date
    • Thread