Hi Get the latest date?

  • HI All,

    Can please help on this

    Payment_due_date,Cust_Name,Oustanding_Amt

    02/28/11 , Bob, 115

    03/31/11 , Bob, 90

    02/28/11 , Mike, 120

    02/28/11 , Susan, 220

    05/31/11 , Bob, 80,

    03/31/11 , Susan, 70

    05/31/11 , Mike, 220

    05/31/11 , Susan, 120

    04/30/11 , Susan, 130

    So,we would like to see (based on latest Payment_due_date)

    Thanks and regards

    Babu

  • SELECT MAX(Payment_due_date) FROM MyTable

    Need an answer? No, you need a question
    My blog at https://sqlkover.com.
    MCSE Business Intelligence - Microsoft Data Platform MVP

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

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