Beefy Boxes and Bandwidth Generously Provided by pair Networks
Perl-Sensitive Sunglasses

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.

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 all is quiet...

How do I use this? | Other CB clients
Other Users?
Others contemplating the Monastery: (7)
As of 2018-06-19 18:39 GMT
Find Nodes?
    Voting Booth?
    Should cpanminus be part of the standard Perl release?

    Results (114 votes). Check out past polls.