21.04.2012 12:55, Dimitry Sibiryakov wrote: > I've got an idea: what if to apply DISTINCT (and may be GROUP BY) filter to > intermediate results of phase 1 and 3.
I'm not sure what you have in mind, but duplicates are rejected at the early steps of sorting. Dmitry ------------------------------------------------------------------------------ For Developers, A Lot Can Happen In A Second. Boundary is the first to Know...and Tell You. Monitor Your Applications in Ultra-Fine Resolution. Try it FREE! http://p.sf.net/sfu/Boundary-d2dvs2 Firebird-Devel mailing list, web interface at https://lists.sourceforge.net/lists/listinfo/firebird-devel