I have a table with following data
villageId ChildID VC1_date VC2_date VC3_date VC4_date VC5_date
----------------------------------------------------------------------------
1 1 2/2/2015 2/4/2017 2/8/2013 2/2/2013 2/8/2011
1 2 2/3/2017 2/6/2013 2/3/2015 2/5/2014 2/4/2012
1 3 2/5/2013 2/8/2011 2/1/2017 2/8/2016 2/2/2011
2 1 2/6/2011 2/2/2014 2/2/2012 2/9/2018 2/6/2014
2 2 2/2/2013 2/4/2017 2/7/2011 2/4/2012 2/8/2016
2 3 2/1/2015 2/7/2018 2/9/2014 2/5/2011 2/1/2011
Now i want to select max date of village
VC is short form of Vaccine
My Desired outPut is (Last Vaccinated Date Of Village)
VillageId Date
--------------------
1 2/4/2017
2 2/9/2018
Hope you understand what i want...