Re: select from grouped data - Mailing list pgsql-novice

From Roger Mason
Subject Re: select from grouped data
Date
Msg-id y65ilztd3rl.fsf@mun.ca
Whole thread Raw
In response to Re: select from grouped data  ("David G. Johnston" <david.g.johnston@gmail.com>)
List pgsql-novice
David G. Johnston writes:

> SELECT DISTINCT ON (jid) jid, timestamp, scf, energy [...] ORDER BY jid,
> scf DESC

Got it.

Many thanks,
Roger



pgsql-novice by date:

Previous
From: "David G. Johnston"
Date:
Subject: Re: select from grouped data
Next
From: Stephen Frost
Date:
Subject: Re: select from grouped data