- 1

How can we transpose a table using SQL (changing rows to column) ?

9th Jul 2016, 2:17 AM
LABIAD Cherif Ameur
4 Antworten
0
The usual way to do it in SQL is to use CASE statement or DECODE statement.
9th Jul 2016, 2:23 AM
LABIAD Cherif Ameur
0
can't we use with pivot?
9th Jul 2016, 9:12 AM
Manu
- 1
simply you can create temporary tables and write left outer join ,you will get multiple columns
11th Jul 2016, 4:23 PM
Vattikuti Nageswararao
Vattikuti Nageswararao - avatar
- 2
We can use a PIVOT command but it is more complicated.
9th Jul 2016, 2:36 PM
LABIAD Cherif Ameur