Home Page for the TeradataForum
 

Archives of the TeradataForum

Message Posted: Tue, 20 May 2003 @ 09:15:51 GMT


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


Subj:   Need help with Query
 
From:   Anomy Anom

<-- Anonymously Posted: Tuesday, May 20, 2003 05:09 -->

Im a relative newcomer on Teradata and need help with the following Query.

I have two tables. Employee and Review_Date

Employee has the following columns

Employee_Number
Name,
Date_Of_Birth
Department
Date_of_last_review

Review_Date has the following columns

Employee_Number
Date_Of_Review
Pay_Rise_Given

I need to find out the pay_rise_given at the last review for each employee, so in effect I need the Maximum date_of_review (On Review_Date) for the employee and need to know the most efficient way of finding the this and matching it to each employee.

Thanks in anticipation



     
  <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