On Fri, Jul 08, 2005 at 01:37:54PM +1000, Paul McGarry wrote: > > Thank you Michael, your suggestion works a charm (though I didn't > bother coalescing the two grp because I think the USING takes care of > that anyway. Oops, yeah -- I had started with "ON b.grp = g.grp" but changed it to "USING (grp)" and neglected to get rid of that coalesce. -- Michael Fuhr http://www.fuhr.org/~mfuhr/ ---------------------------(end of broadcast)--------------------------- TIP 6: explain analyze is your friend