Re: SQL Order Question

Поиск
Список
Период
Сортировка
От Bruno Wolff III
Тема Re: SQL Order Question
Дата
Msg-id 20060504201951.GA25362@wolff.to
обсуждение исходный текст
Ответ на Re: SQL Order Question  (<operationsengineer1@yahoo.com>)
Список pgsql-novice
On Thu, May 04, 2006 at 13:11:51 -0700,
  operationsengineer1@yahoo.com wrote:
>
> almost, but not quite.  if i use an order by, it
> orders the entire output, not just the results of the
> 2nd select - so i'm back where i started.  that is,
> unless i'mmissing a piece to this puzzle.

You need to order by column <> 'BTS', column converted to a number
Doing the column to a number part is a bit tricky, but can be done
with case as I mentioned previously.

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

Предыдущее
От:
Дата:
Сообщение: Re: SQL Order Question
Следующее
От: Bruno Wolff III
Дата:
Сообщение: Re: SELECT FOR UPDATE - release lock?