Home Page for the TeradataForum

Archives of the TeradataForum

Message Posted: Mon, 14 Jan 2002 @ 23:02:39 GMT

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

Subj:   Re: SQL Tuning - Spool Space Problem
From:   Jay Quinn

Looking like this?

select count(distinct(a.ban))
from jq8274.bill_charge a, jq8274.bill_adjustment b, jq8274.tax c
where a.ban = b.ban
and b.ban = c.ban

Tried it and spooled out, and many otehr various combinations. What should the syntax look like if a select joins were used? Or perhaps making something a derived table?

  <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