How can I transpose these values to take this table:
And make it look like this:
There's no Pivot function that I can use in postgresql and every time I try the crosstab function, I keep getting an error in my code. Let's pretend that my table is called select * from TAttributes

