Extracting most recent entry

  • I have a table StatusLog (LogID, Status, StatusDate) which store history of statuses for each LogID. For example, LogID = 1 will have 2 statuses "Requested" and "Send" (2 records), LogID = 2 can have 3, "Requested", "Send" and "Shipped" (3 records). Ofcourse StatusDate stores corresponded date. I need to find the way to extract current (most recent Status) for each Log. Using MAX(StatusDate) does not produce result if you have Status column in resulting query. Any idea? Thanks

  • Pls don't cross post.

    Steve Jones

    steve@dkranch.net

  • Sorry

    quote:


    Pls don't cross post.

    Steve Jones

    steve@dkranch.net


Viewing 3 posts - 1 through 2 (of 2 total)

You must be logged in to reply to this topic. Login to reply