Hi i have a table which is as below
ProjectId yearMonth FiscalYear Status
-------------- -------------- --------------- -------------
3622 2009-11-01 2009 Completed
3622 2008-10-01 2008 Started
73944 2007-01-01 2007 Started
73944 2008-01-01 2008 Started
73944 2010-01-01 2010 Completed
73944 2010-01-02 2010 Completed i need the following output from the above table ( Status of the max(FiscalYear) for all the projectId's
Resultant out put should be ProjectId yearMonth FiscalYear Status
------------- --------------- ------------------ -----------
3622 2009-11-01 2009 Completed
73944 2010-01-02 2010 Completed
Can any one help me on this..
Regards
Prasanna