Help for Pivot or through


Please, i want create pivot table, but i dont know , where i must first start ?
Give me Example and How so that th in the table matches the data on tr in the database


If my input is not sequential, the results are not parallel


How to Sort its ? type data varchar …