- 1

How to convert rows into columns and columns in a row in MySQL?

I have tried a lot of queries and saw a lot of videos and tutorials. I am little bit confused about it that " How and what type rows we can convert into columns? "

2nd Apr 2020, 5:52 AM
bharti parmar
bharti parmar - avatar
3 Antworten
+ 1
Some flavors of sql might have support for "pivoting" a table. You need to clarify if you use mssql, mysql, postgresql, oracle... https://stackoverflow.com/questions/13372276/simple-way-to-transpose-columns-and-rows-in-sql
2nd Apr 2020, 9:10 AM
Tibor Santa
Tibor Santa - avatar
0
that is not possible
3rd Apr 2020, 10:24 AM
Muhammad Hamza
Muhammad Hamza - avatar
0
Tibor Santa thank you. That's what I want to do.
27th Apr 2020, 9:52 AM
bharti parmar
bharti parmar - avatar