* Tom Lane (tgl(at)sss(dot)pgh(dot)pa(dot)us) wrote:
> 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.
Huh. Guess I suck then. I actually do this a fair bit, is there any
way to do it in standard SQL? It's terribly useful...
Thanks,
Stephen