Home Page for the TeradataForum

Archives of the TeradataForum

Message Posted: Wed, 03 May 2000 @ 14:28:07 GMT

  <Prev Next>   <<First <Prev

Subj:   Re: Derived Tables and depth of nesting
From:   Barbara George


Thanks for the prompt and detailed response.

Running the SQL for tables A & B individually (copying the exact code from the main statement), each gives 1 row.

Running the complete SQL for table 5, with the derived tables, also gives one row.

To test the main SQL I took out the functions and the group by, and twice the number of rows were returned. (Tested by leaving table5 out of the main SQL)

I do agree that creating the temporary table would have eliminated duplicates.


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