try like thisDECLARE @t TABLE (ITEMID varchar(32),STYLEID varchar(32),STYNAME varchar(32),COLOR varchar(32),WIDTH varchar(32))insert into @t select '8', '2044-226', 'Jzz Oriinal', 'Green-black', 'M' union all select '1', '1044-222', 'Jzz Oriinal', 'Pink-orange', 'W' union all select '9', '2044-230', 'Jzz Oriinal', 'Gray-blue', 'M' union all select'12', '2044-214', 'Jzz Oriinal', 'Gray-white', 'M' union all select'6', '1044-155', 'Jzz Oriinal', 'RED-Lavender', 'W'SELECT col1,col2from (select * from @t where itemid = 8)aunpivot (col2 for col1 in ([itemid],[styleid],[styname],[color],[width]))p