A statement block can have only one comment containing hints. Thanks for any response in advance. It would clearly make sense to do the S - subquery group-by first, reducing that query from rows to 5 rows, THEN do the join. Thanks for your guidance. Thanks Tom and Sergey
nest...