I have a table with the following columns: date, type, area, district
I want the select output to look like this: date, type1_area, type2_area, district
I understand the first step is a groupby over date and district but I don’t know how to combine the values into a single row.
Any help will be greatly appreciated.