Beefy Boxes and Bandwidth Generously Provided by pair Networks
Keep It Simple, Stupid
 
PerlMonks  

Re^2: Sorting SQL results

by roboticus (Canon)
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

sundialsvc4:

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.

...roboticus

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


Comment on Re^2: Sorting SQL results
Download Code
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....

      spandox:

      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.

      ...roboticus

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

Log In?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others surveying the Monastery: (13)
As of 2014-10-20 08:40 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    For retirement, I am banking on:










    Results (74 votes), past polls