I have a table named table1 where datas are entered as below.
slno scxid
exid cv
`witheffectdate
2007 213
355000
2012-03-01 00:00:00.000`
2008 214
351000
2012-03-01 00:00:00.000`
2009 215
35500
2012-03-01 00:00:00.000`
2010 213
357000
2012-04-01 00:00:00.000`
2011 214
351500
2012-04-01 00:00:00.000`
2012 215
35700
2012-04-01 00:00:00.000`
I need to only display the data of exid=35 with maximum witheffectdate only. That is here display only datas from slno 2010 to 2012. Please helpme.