ORDER BY

From: "MicroUser" <a(dot)shafar(at)gmail(dot)com>
To: pgsql-general(at)postgresql(dot)org
Subject: ORDER BY
Date: 2006-11-14 22:03:40
Message-ID: 1163541820.580520.110310@k70g2000cwa.googlegroups.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

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.

Responses

Browse pgsql-general by date

  From Date Subject
Next Message Clarence Gardner 2006-11-14 22:14:40 Not your father's question about deadlocks
Previous Message John McCawley 2006-11-14 21:54:42 The old Insert and retrieving your Serial problem in VB