Re: ORDERING alphabetically

From: "Mike Sears" <msears(at)vianet(dot)ca>
To: "abe" <abe(at)fish(dot)tm>, <pgsql-general(at)postgresql(dot)org>
Subject: Re: ORDERING alphabetically
Date: 2000-08-09 21:13:57
Message-ID: 001301c00246$bb648ff0$02945bd1@neutrino
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

SELECT * FROM table ORDER BY table;

that seems to do the trick for me when I need to order things alphabeticly.

Mike
----- Original Message -----
From: "abe" <abe(at)fish(dot)tm>
To: <pgsql-general(at)postgresql(dot)org>
Sent: Wednesday, August 09, 2000 10:15 AM
Subject: [GENERAL] ORDERING alphabetically

> Hi there,
>
> Does anyone know how to get results from a query in alphabetical order
(for one
> field such as surname). I skimmed over the documentation and no luck.
>
> The field type for surname is varchar - Maybe this is why order by didn't
work.
>
> Thankyou,
> Abe
>

In response to

Browse pgsql-general by date

  From Date Subject
Next Message Paulo Henrique Rodrigues Pinheiro 2000-08-09 21:25:23 initdb fail
Previous Message Philip Hallstrom 2000-08-09 18:28:59 Lock up on 7.0.2 involving CREATE FUNCTION/INDEX..