pg.ddx.io  pgsql-sql@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Charles Hauser <chauser@acpub.duke.edu>
To: pgsql-sql@postgresql.org
Subject: ORDER BY question
Date: Thu, 15 Nov 2001 18:02:04 -0500
Message-ID: <a05010403b819f5e7857d@[152.3.11.193]> (raw)

Hope this is the correct forum - if not sorry.

I have a query which returns a value of the form: '20010822.1338.1'.

I would like to order the results, sorting :

		1st: 20010822
		2nd: 1338
		3rd: 1


I can do this in perl, but have not found a way to do this using ORDER BY.

I am VERY new to DB's; biologist trying to do informatics.

Thanks.
-- 
Chuck



view thread (15+ messages)  latest in thread

Message-ID: <a05010403b819f5e7857d@[152.3.11.193]>
Permalink:  ../a05010403b819f5e7857d@%5B152.3.11.193%5D/
Also on:    postgresql.org/message-id/a05010403b819f5e7857d@[152.3.11.193]

 · 

reply

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Reply to all the recipients using the --to and --cc options:
  reply via email

  To: pgsql-sql@postgresql.org
  Cc: chauser@acpub.duke.edu
  Subject: Re: ORDER BY question
  In-Reply-To: <a05010403b819f5e7857d@[152.3.11.193]>

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox