paingul
-
Posts
1 -
Joined
-
Last visited
Never
We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.
Order query results by columns
in MySQL Help
Posted
Hello,
I\'m trying to order a mysql query by column, not by rows.
Let\'s say I have 6 results, so I want to output on screen smth. like:
1 | 4
2 | 5
3 | 6
and NOT like:
1 | 2
3 | 4
5 | 6
The code I currently use is [results are ordered in 2 columns]:
Any ideas?
Thanks