I'm having trouble joining two tables.
I have this table:
order line value
----------------------
12033 hours 0,1
12033 desc foo
12033 letter A
12034 hours 0,3
12034 desc bar
12034 letter C
Now I want to join the column "value" with another table that only has the unique order numbers in it, and the values in column "line" should become the column headers.
Here's how I want the result to be:
order hours desc letter
-----------------------------
12033 0,1 foo A
12034 0,3 bar C
Could someone give me some tips on how to achieve this?
Thanks!