I have table structure like below :
product supplier price qty
------- -------- ----- ---
SOAP ABC 50 10
SOAP DCE 50 10
BRUSH FGH 30 5
I would like to transform this table into :
product supplier_1 supplier_2 price qty
------- -------- ---------- ----- ---
SOAP ABC DCE 50 10
BRUSH FGH 30 5
how can I do it in SQL? thanks in advance.