I am simply trying to join 5 fields (different rows) with the same id to a single table with a matching single id using postgres/postgis/python.
The data looks like this:
and the table I am trying to join it to looks like this:
There is a similar thread that discusses this but I cannot figure out the logic to transfer all 5 data field row to one single row in the new table. Postgres - Transpose Rows to Columns
Any help is appreciated :)