Philip Warner <pjw(at)rhyme(dot)com(dot)au> writes:> Thanks, but now I'm confused. I would have thought that aggregates went> *before* the having clause,
Arrgh. You are right of course. Shouldn't pontificate late at night...
regards, tom lane