|
Archives of the TeradataForumMessage Posted: Thu, 20 Oct 2005 @ 10:54:17 GMT
I suspect if you run the derived table in its own right, the one with the group by will return considerably less rows. Therefore when the derived table is joined to table1 following the group by less spool is required as it is in fact a much smaller table than in the other example. Regards Keith.
| ||||||||||||||||||||||||||||||||||||||||||||||||
| ||||||||||||||||||||||||||||||||||||||||||||||||
Copyright 2016 - All Rights Reserved | ||||||||||||||||||||||||||||||||||||||||||||||||
Last Modified: 15 Jun 2023 | ||||||||||||||||||||||||||||||||||||||||||||||||