Infosys Interview Question

Pivoting and unpivoting the same table in alteryx as well as sql