Stephen Frost <sfrost(at)snowman(dot)net> writes:
> * Ben (bench(at)silentmedia(dot)com) wrote:
>> Sweet, indeed it is. DISTINCT ON seems to be a postgresism, but I can
>> live with that.
> Uhhh, I was pretty sure it was standard SQL...
Nope, definitely a Postgres-ism.
regards, tom lane