pg.ddx.io  pgsql-general@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: MicroUser <a.shafar@gmail.com>
To: pgsql-general@postgresql.org
Subject: ORDER BY
Date: 14 Nov 2006 14:03:40 -0800
Message-ID: <1163541820.580520.110310@k70g2000cwa.googlegroups.com> (raw)

Hi.

I have a table:

ID | Name
0 | Anna
1 | Other
2 | Link
3 | Fernando

I need sorted result but the way like this:

0 | Anna
3 | Fernando
2 | Link
1 | Other

Record '1 | Other' must by at the end of query result.

How I can get it?

Thx.




view thread (27+ messages)  latest in thread

Message-ID: <1163541820.580520.110310@k70g2000cwa.googlegroups.com>
Permalink:  ../1163541820.580520.110310@k70g2000cwa.googlegroups.com/
Also on:    postgresql.org/message-id/1163541820.580520.110310@k70g2000cwa.googlegroups.com

 · 

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 from your mail client; the link fills in
  the headers below: reply via email
  Some clients, webmail especially, drop In-Reply-To and References from
  a link, and the reply then starts a new thread: use the mbox below.

  To: pgsql-general@postgresql.org
  Cc: a.shafar@gmail.com
  Subject: Re: ORDER BY
  In-Reply-To: <1163541820.580520.110310@k70g2000cwa.googlegroups.com>
  References: <1163541820.580520.110310@k70g2000cwa.googlegroups.com>

* 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