Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations gkittelson on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

getting max date of records with same SalaryId but less than curren

Status
Not open for further replies.

Guest_imported

New member
Jan 1, 1970
0
I have a table that has the following fields; SalaryId, FTE, Date.

There can be more than one record per SalaryId but only one record with a particular SalaryId-Date combination.

What i need is a table that has fields; SalaryId, FTE, Date, Max Date less than current date for this SalaryId.

Example:
Current Table
Salary, FTE, Date
1, .65, 1-5-01
1, .73, 5-5-01

New Table
Salary, FTE, Date, MaxDate<Current
1, .73, 5-5-01, 1-5-01.

Please help me!!!!!!!
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top