Home Page for the TeradataForum
 

Archives of the TeradataForum

Message Posted: Fri, 24 Aug 2001 @ 10:22:49 GMT


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


Subj:   Re: Using Time(0)
 
From:   Anonymous

Hi,

if you want only to select date from one field and maximum and minimum times for that date from another column use following SQL:

sel date_column, min(time_column), max (time_column)
from data
group by 1;



     
  <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