Home ยป how to write pivot query in sql server

how to write pivot query in sql server