"Dan Winslow" <d(dot)winslow(at)cox(dot)net> writes:> Yes, I tried this, but it doesn't like the order or the limit clause in> sub-selects.
Then you need a newer version of Postgres; that's been supported since7.1.
regards, tom lane