I have written a code like this
SELECT * FROM TestTable
This gets the output in a vertical view.
ID | Name
1 | John
2 | Mckensy
3 | Valneech
4 | Zeebra
However, I need to display it horizontally.
1 | 2 | 3 | 4
John | Mckensy | Valneech | Zeebra
How can one do this?