Results 1 to 2 of 2
  1. #1
    somm is offline Novice
    Windows XP Access 2003
    Join Date
    Dec 2010
    Posts
    8

    Unhappy Help in aggregate query

    Hi all,



    I'm facing some problem in aggregate query.My issue is

    Name Country Item Order
    Sam IN QA 5
    Sam IN AW 2


    Results should be :

    Sam IN QA,AW 7


    That means concatenate fn in aggregate query.
    Is there anyway to achieve this...

    Thanks

  2. #2
    ajetrumpet is offline VIP
    Windows Vista Access 2007
    Join Date
    Mar 2010
    Location
    N/A
    Posts
    2,694
    you can do it easily without including the comma separated ITEM column:
    Code:
    select name, country, sum(order)
    
    group by name, country
    to include that column, you would most likely need a function call.

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

Similar Threads

  1. an aggregate function error message
    By newtoAccess in forum Queries
    Replies: 1
    Last Post: 11-27-2010, 05:18 PM
  2. Aggregate Query Returns No Values
    By Xiaoding in forum Queries
    Replies: 6
    Last Post: 03-29-2010, 02:01 PM
  3. Access SQL Query - Aggregate function
    By jack in forum Access
    Replies: 0
    Last Post: 11-10-2009, 08:06 PM
  4. Using an Aggregate in a query
    By jbh02 in forum Queries
    Replies: 0
    Last Post: 09-15-2009, 07:29 PM
  5. Replies: 1
    Last Post: 12-11-2008, 01:28 PM

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