Top "Unpivot" questions

UNPIVOT describes a Query Language feature of some Relational Databases.

How to simulate UNPIVOT in Access?

UNPIVOT is available in MS SQL-Server 2005, but AFAIK not in MS Access 2010. How can it be implemented with on-board means? …

sql sql-server ms-access ms-access-2010 unpivot
Split Multiple Columns into Multiple Rows

I have a table with this structure. UserID | UserName | AnswerToQuestion1 | AnswerToQuestion2 | AnswerToQuestion3 1 | John | 1 | 0 | 1 2 | Mary | 1 | 1 | 0 I can't figure out what SQL …

sql sql-server unpivot
MySQL - How to unpivot columns to rows?

I'm probably not seeing things very clear at this moment, but I have a table in MySQL which looks like …

mysql sql union unpivot lateral-join
How do you create a "reverse pivot" in Google Sheets?

I am trying to produce a "reverse pivot" function. I have searched long and hard for such a function, but …

google-apps-script google-sheets pivot-table unpivot
Unpivot table with multiple columns and dynamic column names

I am trying to unpivot a table with multiple rows and columns. Each row needs to be extratced to 2 rows …

sql dynamic multiple-columns unpivot dynamic-columns
Oracle show columns as row

How can i convert multiple column to row accoding by followed sample? For solution, i inspected many sample for example …

sql oracle unpivot
TSQL - Unpivot multiple columns

How can I unpivot multiple columns in "one"? Right now I have an unpivot for each column but this creates …

sql-server tsql pivot crosstab unpivot
Hive - Unpivot functionality in hive

I have two table as follows: Table A userid | code | code_name | property_id 0001 | 1 | apple_id | Y1234 0031 | 4 | mango_id | G4567 0008 | 3 | …

sql hive unpivot
Using PIVOT to Flip Data from Wide to Tall

I have a table that is rather wide that I would like to convert to tall. The data currently resides …

sql sql-server-2008 tsql pivot unpivot
Pivot multiple columns into rows in SQL Server?

I have a table with data like this create table temp ( colName varchar(50), name varchar(50), icon varchar(150), totalcount int ) insert …

sql-server pivot unpivot