Fetch Data From Sql Server Using Case