Results 1 to 2 of 2
  1. #1
    Join Date
    Jun 2006
    Posts
    1

    Counting distinct id's

    This is my first post so hello all.
    I am new to access and need some help around counting distinct id's.



    I need to count the number of distinct customer id's and also count the number of orders made.

    Any help would be appreciated.

    Thanks

  2. #2
    Join Date
    Sep 2006
    Location
    Manchester, England
    Posts
    13
    There is no count distinct in Access so you have to do a somewhat clunky work around a bit like this :

    SELECT Count(ID) FROM
    (SELECT DISTINT ID FROM tbl_Mytable) as myTable

Please reply to this thread with any new information or opinions.

Similar Threads

  1. Query for distinct member number
    By Lauri in forum Queries
    Replies: 1
    Last Post: 08-23-2013, 03:22 AM
  2. Counting rows
    By anishap in forum Access
    Replies: 0
    Last Post: 10-08-2008, 10:41 PM
  3. Replies: 0
    Last Post: 08-08-2008, 08:34 AM
  4. Counting records based on specified criteria
    By GrnISSO in forum Queries
    Replies: 2
    Last Post: 10-04-2007, 03:07 PM
  5. Need Help counting occurences
    By anyoder in forum Queries
    Replies: 0
    Last Post: 03-09-2007, 08:53 AM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
Other Forums: Microsoft Office Forums