converting only two rows into columns through pivot in sql : please find attach image, i need general sql query i mean not hard coded. Thanks[table structure attach][1]


  [1]: http://i.stack.imgur.com/vUsYV.png