Postgresql – How to format sql table using values as column
I have the following result : ------------------------- | dept | Active request | ------------------------- | AFG | 3 | | AGO | 4 | | KMN | 1 | | MOL | 1 | | POD | 2 | |…
I have the following result : ------------------------- | dept | Active request | ------------------------- | AFG | 3 | | AGO | 4 | | KMN | 1 | | MOL | 1 | | POD | 2 | |…