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: (view raw, whole thread or download thread mbox)
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


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-2017 The PostgreSQL Global Development Group