Skip site navigation (1) Skip section navigation (2)

Order by question

From: Kevin Kempter <kevink(at)consistentstate(dot)com>
To: "pgsql-general(at)postgresql(dot)org" <pgsql-general(at)postgresql(dot)org>
Subject: Order by question
Date: 2008-11-26 19:46:13
Message-ID: 200811261246.13390.kevin@kevinkempterllc.com (view raw or flat)
Thread:
Lists: pgsql-general
Hi All;

I'm selecting 3 columns.  I want to order the results ascending by col1 and 
col2 and then descending by col3

Whats the syntax for this?


Thanks in advance

Responses

pgsql-general by date

Next:From: Grzegorz JaśkiewiczDate: 2008-11-26 19:59:46
Subject: Re: Order by question
Previous:From: Richard HuxtonDate: 2008-11-26 19:19:26
Subject: Re: Odd on-update inconsistency

Privacy Policy | About PostgreSQL
Copyright © 1996-2014 The PostgreSQL Global Development Group