Home Page for the TeradataForum

Archives of the TeradataForum

Message Posted: Tue, 17 Feb 2004 @ 13:42:59 GMT

  <Prev Next>  
Next> Last>>  

Subj:   How can I get the same column from several rows into one row output?
From:   Nazy Gholizadeh

Can anyone tell me how I can bring a value from several rows into one row in a query/ For example,

select  PI1, V
from table

might give me several rows

         PI1, V1
         PI1, V2
         PI1, V10

Now, how can I get one row with all 10 V's

         PI1, V1, V2, .... V10


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