https://srksxlacdptze.blogspot.com/2021/08/sql-server-pivot-rows-to-columns.html