Hi,
I would like to transport row to column in Oracle query.
I have this query that i use:
Select Customer, Customer_status, Pickup_location, Pickup_Location_Status from dbCust;
Select allOpen in new window
The result give something like this:
I would like to transpose it to:
How can i do that?
Thank you for your help
SELECT * FROM yourTable UNPIVOT ( COLUMN_VALUE FOR COLUMN_NAME IN ( "CUSTOMER_STATUS", "PICKUP_LOCATION", "PICKUP_LOCATION_STATUS" ) );