• Karl Drahovsky
  • NEWBIE
  • 0 Points
  • Member since 2012

  • Chatter
    Feed
  • 0
    Best Answers
  • 0
    Likes Received
  • 0
    Likes Given
  • 0
    Questions
  • 1
    Replies
Hi All,
 
I am trying to do a SELECT DISTINCT values from one of our custom tables. The equivalent of
 
SELECT DISTINCT fieldA,fieldB from tableC
 
But it looks like there is no way to do this with the Salesforce API am I correct ? if yes then how can I run a query like this ?
 
Later on I will need to run a query to get the count of distinct values in a table,
I can do SELECT count() FROM tableA
but cant do SELECT DISTINCT count() FROM tableA
 
Thanks
  • February 01, 2008
  • Like
  • 0