Beefy Boxes and Bandwidth Generously Provided by pair Networks
Clear questions and runnable code
get the best and fastest answer

Re^2: Sorting SQL results

by roboticus (Chancellor)
on Oct 15, 2013 at 10:22 UTC ( #1058282=note: print w/ replies, xml ) Need Help??

in reply to Re: Sorting SQL results
in thread Sorting SQL results


The ORDER BY clause tells the database to sort the rows into order. The OP had difficulty getting the columns in the correct order.

While the title of the post does suggest that an ORDER BY clause may be appropriate, sometimes you need to read the body of the post in order to compose a relevant reply.


When your only tool is a hammer, all problems look like your thumb.

Comment on Re^2: Sorting SQL results
Download Code
Replies are listed 'Best First'.
Re^3: Sorting SQL results
by spandox (Novice) on Oct 16, 2013 at 18:20 UTC
    Does his question involve the table format too?
    use Text::ASCIITable;
    Maybe be part of the solution....


      The Text::ASCIITable package may be involved in his solution, but based on the text and the title, it looked like his primary problem was with the column ordering.


      When your only tool is a hammer, all problems look like your thumb.

Log In?

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://1058282]
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others exploiting the Monastery: (4)
As of 2015-11-27 06:04 GMT
Find Nodes?
    Voting Booth?

    What would be the most significant thing to happen if a rope (or wire) tied the Earth and the Moon together?

    Results (719 votes), past polls