Results 1 to 2 of 2
  1. #1
    wsastroredjo is offline Novice
    Windows 7 64bit Access 2010 64bit
    Join Date
    Apr 2017
    Posts
    1

    Get last 3 rates per well

    I have an access table with data of some producing water-wells. These wells are regularly tested to determine its production rate.



    I would like to know the query, to get the last 3 rates of the wells?


    WaterWell TestDate Rate
    10ABX05 4/12/2005 50.59988
    11CYU01 5/13/2017 60.22541

    Thanks in advanced.

    Regards, Winston

  2. #2
    pbaldy's Avatar
    pbaldy is offline Who is John Galt?
    Windows XP Access 2007
    Join Date
    Feb 2010
    Location
    Nevada, USA
    Posts
    22,518
    See if this helps:

    http://allenbrowne.com/subquery-01.html#TopN

    i assume you have an ID field.
    Paul (wino moderator)
    MS Access MVP 2007-2019
    www.BaldyWeb.com

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

Similar Threads

  1. Replies: 3
    Last Post: 03-24-2017, 12:34 PM
  2. Replies: 6
    Last Post: 03-11-2015, 08:39 AM
  3. Replies: 4
    Last Post: 06-20-2014, 09:23 PM
  4. populating field with USPS postage rates
    By gringotani in forum Programming
    Replies: 1
    Last Post: 07-09-2013, 12:22 PM
  5. How to work out commission rates
    By matpaulin in forum Queries
    Replies: 1
    Last Post: 02-07-2013, 06:15 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