Home Page for the TeradataForum
 

Archives of the TeradataForum

Message Posted: Tue, 22 Mar 2005 @ 15:35:25 GMT


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


Subj:   Deciles Query
 
From:   Julie.Flanagan

Hi,

I'm running the following query:

     Select
             Segment
             ,quantile(10, segment_value)   as Decile
     from
             TableX

I expected this to split my data into 10 relatively even blocks of data (i.e. each deciles would have approx. same no. of rows), but they don't. Why not? Will the amount in each decile be very uneven if some rows have the same segment value?


Thanks,

Julie Flanagan
Vodafone Ireland Limited



     
  <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: 15 Jun 2023