SQL Order Question

Поиск
Список
Период
Сортировка
От
Тема SQL Order Question
Дата
Msg-id 20060504183333.88479.qmail@web33314.mail.mud.yahoo.com
обсуждение исходный текст
Ответы Re: SQL Order Question  ("Andrej Ricnik-Bay" <andrej.groups@gmail.com>)
Re: SQL Order Question  (Bruno Wolff III <bruno@wolff.to>)
Список pgsql-novice
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?

tia...

__________________________________________________
Do You Yahoo!?
Tired of spam?  Yahoo! Mail has the best spam protection around
http://mail.yahoo.com

В списке pgsql-novice по дате отправления:

Предыдущее
От: Sean Davis
Дата:
Сообщение: Re: Efficiency of indexes on CHAR(n) and VARCHAR(n)
Следующее
От: "Andrej Ricnik-Bay"
Дата:
Сообщение: Re: SQL Order Question