Re: SQL Order Question - Mailing list pgsql-novice

From Andrej Ricnik-Bay
Subject Re: SQL Order Question
Date
Msg-id b35603930605041139x7a458217p4bf17b3a5f791fb4@mail.gmail.com
Whole thread Raw
In response to SQL Order Question  (<operationsengineer1@yahoo.com>)
Responses Re: SQL Order Question
List pgsql-novice
On 5/5/06, operationsengineer1@yahoo.com <operationsengineer1@yahoo.com> wrote:
> hi all,
>
> i want to order contract numbers id ascending order,
> with the exception of 'BTS' that I want to display
> first.  the contract numbers are numeric and 'BTS' is
> text.  the numeric values come first when i sort in
> asc order - as expected.  how can i get BTS (id = 0)
> to come up as the first value in my query?
I'm not sure I fully understand the structure of your
data ... do BTS and the numeric contract numbers
appear in the same column?



> tia...
Cheers,
Andrej


--
Please don't top post, and don't use HTML e-Mail :}  Make your quotes concise.

http://www.american.edu/econ/notes/htmlmail.htm

pgsql-novice by date:

Previous
From:
Date:
Subject: SQL Order Question
Next
From:
Date:
Subject: Re: SQL Order Question