Unpivot a table in PostgreSQL
62445
Name for table with metric_name and metric_value columns
67729
How to pivot rows into columns MySQL
71713
PostgreSQL - "DISTINCT ON" and "GROUP BY" syntax
29118
Pivoting in DB2
71352
Pivot multiple columns based on one column in SQL Server
80600
How to list all constraints of a table in PostgreSQL?
12021
What is an equivalent of EXCEPT(in PostgreSQL) in MySQL?
100742
Pivot rows to columns without aggregate
90863
How can I reverse (flip horizontal) a table?
86260
How to delete from multiple tables in MySQL?
128373
How do I delete unique rows from a table with duplicate keys?
105167
PostgreSQL Crosstab Query
36785
Oracle SQL pivot query
86649
What's the most efficient way to select the last n rows in a table without changing the table's structure?
134276
Sql pivot - but dont sum the values
113095
How do I retrieve all tuples from similar tables in a postgresql database?
81132
MySQL pivot row into dynamic number of columns