結果 : how to convert rows into columns in sql server dynamically without using pivot