With my SQL query I get the following output:
My Output
ITEM_ID USP_NO Value
2616761 1 Type Bijtafel
2616761 2 Materiaal Steen
2616761 3
2616761 4
2616761 5
5037554 1 Materiaal Geïmpregneerd hout
5037554 2
5037554 3
But I want to convert my output to have a single ITEM_ID with in different columns the values like the following
ITEM_ID USP1 USP2
2616761 Type Bijtafel Materiaal Steen
5037554 Materiaal Geïmpregneerd hout
My Query is the following:
SELECT *
FROM PIM_USP
where item_ID IN (SELECT Item_ID
from PIM_ITEM where
PIM_ITEM.brick_ID=10002084)