Postgresql – How to convert multiple rows into single row but with different column names in postgressql
My resultant out is this using case when in postgres id name amount1 amount2 amount3 1 abc 10 null null 1 abc null 5 null 1 abc null null 40 I want my output as: id name amount1 amount2 amount3…