Results 1 to 15 of 15

Thread: how to get the earlier date in SQL?

Threaded View

  1. #3

    Thread Starter
    Addicted Member
    Join Date
    Nov 2002
    Posts
    150

    Re: how to get the earlier date in SQL?

    Quote Originally Posted by GaryMazzone
    Add an and condition to the where clause and perfrom a sub query to get the Min(date).
    don't I need to write some kind of IF condition checking for multiple country value then get the earlier date?

    I attached a table showing my example. the result should have all countries but min date if douplicate country. please check out and advise.



    thank you
    Attached Images Attached Images  

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  



Click Here to Expand Forum to Full Width