https://www.red-gate.com/simple-talk/sql/t-sql-programming/easier-way-transposing-query-result-sql-server/
origin - https://www.pipiscrew.com/2018/03/an-easier-way-of-transposing-query-result-in-sql-server/ an-easier-way-of-transposing-query-result-in-sql-server