Received: from postgresql.org.org (webmail.postgresql.org [216.126.85.28]) by postgresql.org (8.11.3/8.11.1) with SMTP id f4SCZgA95602 for ; Mon, 28 May 2001 08:35:42 -0400 (EDT) (envelope-from pgsql-sql-owner@postgresql.org) Received: from hotmail.com (f51.law3.hotmail.com [209.185.241.51]) by postgresql.org (8.11.3/8.11.1) with ESMTP id f4PHT7A08260 for ; Fri, 25 May 2001 13:29:07 -0400 (EDT) (envelope-from morrisonjeffrey@hotmail.com) Received: from mail pickup service by hotmail.com with Microsoft SMTPSVC; Fri, 25 May 2001 10:29:02 -0700 Received: from 206.186.27.130 by lw3fd.law3.hotmail.msn.com with HTTP; Fri, 25 May 2001 17:29:01 GMT X-Originating-IP: [206.186.27.130] From: "jeffrey morrison" To: pgsql-sql@postgresql.org Subject: SQL specified sort Date: Fri, 25 May 2001 14:29:01 -0300 Mime-Version: 1.0 Content-Type: text/plain; format=flowed Message-ID: X-OriginalArrivalTime: 25 May 2001 17:29:02.0154 (UTC) FILETIME=[308C42A0:01C0E540] X-Archive-Number: 200105/292 X-Sequence-Number: 3120 I was wondering if you could help me out with a problem I'm having. Say for example I have data coming out like: H29 214 200 099 How would I use a sort to be able to make the output look like 214 H29 200 099 I don't believe their is a way to do an ORDER BY in a specific order. Any help you could give me this problem would be very much appreciated. Jeff Morrison _________________________________________________________________________ Get Your Private, Free E-mail from MSN Hotmail at http://www.hotmail.com.