From: | Bruno Wolff III <bruno(at)wolff(dot)to> |
---|---|
To: | operationsengineer1(at)yahoo(dot)com |
Cc: | Richard Broersma Jr <rabroersma(at)yahoo(dot)com>, Andrej Ricnik-Bay <andrej(dot)groups(at)gmail(dot)com>, "pgsql-novice(at)postgresql(dot)org" <pgsql-novice(at)postgresql(dot)org> |
Subject: | Re: SQL Order Question |
Date: | 2006-05-04 20:19:51 |
Message-ID: | 20060504201951.GA25362@wolff.to |
Views: | Whole Thread | Raw Message | Download mbox | Resend email |
Thread: | |
Lists: | pgsql-novice |
On Thu, May 04, 2006 at 13:11:51 -0700,
operationsengineer1(at)yahoo(dot)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.
From | Date | Subject | |
---|---|---|---|
Next Message | operationsengineer1 | 2006-05-04 20:21:15 | Re: SQL Order Question |
Previous Message | operationsengineer1 | 2006-05-04 20:11:51 | Re: SQL Order Question |