Results 1 to 2 of 2
  1. #1
    MOM4C1 is offline Novice
    Windows 7 64bit Access 2010 64bit
    Join Date
    Nov 2011
    Posts
    1

    Post Query using avg


    I need to find the average cost by vendor and can not come up with the SQL format. Can anyone help?

  2. #2
    June7's Avatar
    June7 is offline VIP
    Windows XP Access 2010 32bit
    Join Date
    May 2011
    Location
    The Great Land
    Posts
    53,622
    This is a Totals (aggregate) query in Access. Access Help has guidelines.

    In query Design view, click the Totals button (looks like Sigma). This will modify the design grid and provide aggregate functions in the Total row. Select option under each field. You need at least the Vendor ID and Cost field. GROUP BY vendor, AVG cost.
    How to attach file: http://www.accessforums.net/showthread.php?t=70301 To provide db: copy, remove confidential data, run compact & repair, zip w/Windows Compression.

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

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