Littlemalky
Board Regular
- Joined
- Jan 14, 2011
- Messages
- 223
Hi, I'm having trouble structuring this query properly. I have a table that could contain duplicate [EMPLOYEE_ID]'s, but want to eliminate these duplicates to only pull the latest record which could be determined from the [ID] field. I'd also like to pull back other reference fields with it. All of the fields in the table are as follows:
[tbl_GUARANTEES]
[ID]
[EMPLOYEE_ID]
[GUARANTEE_START_DATE]
[GUARANTEE_END_DATE]
[GUARANTEE_AMOUNT]
[MODIFIED_BY]
[MODIFIED_DATE]
[tbl_GUARANTEES]
[ID]
[EMPLOYEE_ID]
[GUARANTEE_START_DATE]
[GUARANTEE_END_DATE]
[GUARANTEE_AMOUNT]
[MODIFIED_BY]
[MODIFIED_DATE]