Home Page for the TeradataForum

Archives of the TeradataForum

Message Posted: Wed, 19 Mar 2003 @ 07:52:57 GMT

  <Prev Next>   <<First <Prev Next> Last>>  

Subj:   Re: SQL Subquery issue
From:   Walter, Todd A


I was wondering to myself why the difference in perf was so large. I too assumed to start with that the max subqueries were short. And the where clause appears fairly selective. Maybe it would be good to ask for the plans? Wonder if there is an index on quarterid or something?

Wish I had time to set it up and try it on R5. Would be interesting to see if partial group by would catch this case. Aggregate Customer where question and subgroup, then join to the results of the subqueries. Could be pretty cool.

  <Prev Next>   <<First <Prev Next> Last>>  
  Top Home Privacy Feedback  
Copyright for the TeradataForum (TDATA-L), Manta BlueSky    
Copyright 2016 - All Rights Reserved    
Last Modified: 28 Jun 2020